aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/su/su.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-08-12 17:24:42 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-08-12 17:24:42 +0000
commit3e2322fcffa77c63fe1447a500c987201ba0624f (patch)
treec2547a8f5db7859ba7e48bf02243790f40bff258 /usr.bin/su/su.c
parent09d932cf40d98ca8751fe635656178098334f6ac (diff)
downloadsrc-3e2322fcffa77c63fe1447a500c987201ba0624f.tar.gz
src-3e2322fcffa77c63fe1447a500c987201ba0624f.zip
Fix typing error in prev. commit
Notes
Notes: svn path=/head/; revision=101749
Diffstat (limited to 'usr.bin/su/su.c')
-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 13cfbf81b8bb..d130e71df3bf 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);
}