diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1998-07-14 09:19:47 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1998-07-14 09:19:47 +0000 |
commit | bf57a7d1d1e1af008a5e97eb56445f452973c8ed (patch) | |
tree | 6650417a777c837d43d3514e1e57956e43e09a28 /sbin/dump/dumprmt.c | |
parent | 7842d15da67480e9fd71e1d23e441ecdb599ad34 (diff) | |
download | FreeBSD-src-bf57a7d1d1e1af008a5e97eb56445f452973c8ed.zip FreeBSD-src-bf57a7d1d1e1af008a5e97eb56445f452973c8ed.tar.gz |
Make `dump' exit codes confirm to manual page.
PR: 5346
Style-check-by: bde
Diffstat (limited to 'sbin/dump/dumprmt.c')
-rw-r--r-- | sbin/dump/dumprmt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dump/dumprmt.c b/sbin/dump/dumprmt.c index 84fef13..f27d214 100644 --- a/sbin/dump/dumprmt.c +++ b/sbin/dump/dumprmt.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)dumprmt.c 8.3 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: dumprmt.c,v 1.11 1998/06/15 06:58:09 charnier Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -154,19 +154,19 @@ rmtgetconn() if (sp == NULL) { msg("%s/tcp: unknown service\n", dokerberos ? "kshell" : "shell"); - exit(X_ABORT); + exit(X_STARTUP); } pwd = getpwuid(getuid()); if (pwd == NULL) { msg("who are you?\n"); - exit(X_ABORT); + exit(X_STARTUP); } } if ((cp = strchr(rmtpeer, '@')) != NULL) { tuser = rmtpeer; *cp = '\0'; if (!okname(tuser)) - exit(X_ABORT); + exit(X_STARTUP); rmtpeer = ++cp; } else tuser = pwd->pw_name; |