summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/su.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/su/su.c')
-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 33905a9..13cfbf8 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);
}
OpenPOWER on IntegriCloud