summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-08-12 17:24:42 +0000
committerache <ache@FreeBSD.org>2002-08-12 17:24:42 +0000
commitd95ba53c2b6c81819af2bf1ecdf55634ab04914d (patch)
treec2547a8f5db7859ba7e48bf02243790f40bff258 /usr.bin
parent54c34d65e71657ad2d05eca9447aaffdcb136862 (diff)
downloadFreeBSD-src-d95ba53c2b6c81819af2bf1ecdf55634ab04914d.zip
FreeBSD-src-d95ba53c2b6c81819af2bf1ecdf55634ab04914d.tar.gz
Fix typing error in prev. commit
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/su/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 13cfbf8..d130e71 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -331,7 +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