aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-08-12 17:23:06 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-08-12 17:23:06 +0000
commit09d932cf40d98ca8751fe635656178098334f6ac (patch)
tree17b5e13a68d0083b696080129ea075be1843e166 /usr.bin
parente34fe8a408efb852df39ddb775cff71d86b3db3a (diff)
downloadsrc-09d932cf40d98ca8751fe635656178098334f6ac.tar.gz
src-09d932cf40d98ca8751fe635656178098334f6ac.zip
Fix style bug in prev. commit
Notes
Notes: svn path=/head/; revision=101748
Diffstat (limited to 'usr.bin')
-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);
}