diff options
Diffstat (limited to 'libexec/rlogind/rlogind.c')
-rw-r--r-- | libexec/rlogind/rlogind.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index 80092d56224..57458e25856 100644 --- a/libexec/rlogind/rlogind.c +++ b/libexec/rlogind/rlogind.c @@ -39,7 +39,7 @@ static char copyright[] = #ifndef lint /* from: static char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93"; */ -static char *rcsid = "$Id: rlogind.c,v 1.25 2000/11/10 17:46:08 itojun Exp $"; +static char *rcsid = "$Id: rlogind.c,v 1.26 2001/01/19 18:01:03 deraadt Exp $"; #endif /* not lint */ /* @@ -580,7 +580,10 @@ cleanup(signo) (void)chmod(line, 0666); (void)chown(line, 0, 0); shutdown(netf, 2); - exit(1); + if (signo) + _exit(1); + else + exit(1); } void |