diff options
-rw-r--r-- | usr.bin/chpass/chpass.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c index a0796e9c591..4f0b2fa6f70 100644 --- a/usr.bin/chpass/chpass.c +++ b/usr.bin/chpass/chpass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chpass.c,v 1.4 1996/08/31 01:55:32 deraadt Exp $ */ +/* $OpenBSD: chpass.c,v 1.5 1996/09/23 05:40:47 deraadt Exp $ */ /* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)chpass.c 8.4 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: chpass.c,v 1.4 1996/08/31 01:55:32 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: chpass.c,v 1.5 1996/09/23 05:40:47 deraadt Exp $"; #endif #endif /* not lint */ @@ -200,8 +200,10 @@ main(argc, argv) if (pw_yp(pw, uid)) { pw_error((char *)NULL, 0, 1); exit(1); - } else + } else { + pw_abort(); exit(0); + } } else #endif /* YP */ |