aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/su/su.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 33905a983c29..13cfbf81b8bb 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -331,8 +331,7 @@ main(int argc, char *argv[])
if (WIFSTOPPED(statusp)) {
kill(getpid(), SIGSTOP);
child_pgrp = getpgid(child_pid);
- if (tcgetpgrp(1) == getpgrp())
- {
+ if (tcgetpgrp(1) == getpgrp()) { {
tcsetpgrp(1, child_pgrp);
kill(child_pid, SIGCONT);
}