summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/su.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-08-12 17:23:06 +0000
committerache <ache@FreeBSD.org>2002-08-12 17:23:06 +0000
commit54c34d65e71657ad2d05eca9447aaffdcb136862 (patch)
tree17b5e13a68d0083b696080129ea075be1843e166 /usr.bin/su/su.c
parent5e3f4acbd9e5aa5e5504525ab1dc343d84c99186 (diff)
downloadFreeBSD-src-54c34d65e71657ad2d05eca9447aaffdcb136862.zip
FreeBSD-src-54c34d65e71657ad2d05eca9447aaffdcb136862.tar.gz
Fix style bug in prev. commit
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