summaryrefslogtreecommitdiff
path: root/sbin/umount
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-18 08:07:52 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-18 08:07:52 +0000
commitb1469d95e7676a369b239ae31c1a4cc32da1ca16 (patch)
tree595d953e4b771d6c74de5af1ef9383321d01f7bb /sbin/umount
parenta00d7920541fc987180d28daa33a5962da32491a (diff)
why exit if returns
Diffstat (limited to 'sbin/umount')
-rw-r--r--sbin/umount/umount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c
index 5a37034730a..ac06cbe20cf 100644
--- a/sbin/umount/umount.c
+++ b/sbin/umount/umount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umount.c,v 1.11 2000/07/27 20:06:00 millert Exp $ */
+/* $OpenBSD: umount.c,v 1.12 2001/05/18 08:07:51 mickey Exp $ */
/* $NetBSD: umount.c,v 1.16 1996/05/11 14:13:55 mycroft Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)umount.c 8.3 (Berkeley) 2/20/94";
#else
-static char rcsid[] = "$OpenBSD: umount.c,v 1.11 2000/07/27 20:06:00 millert Exp $";
+static char rcsid[] = "$OpenBSD: umount.c,v 1.12 2001/05/18 08:07:51 mickey Exp $";
#endif
#endif /* not lint */
@@ -137,7 +137,7 @@ main(argc, argv)
for (errs = 0; *argv != NULL; ++argv)
if (umountfs(*argv) != 0)
errs = 1;
- exit(errs);
+ return (errs);
}
int