aboutsummaryrefslogtreecommitdiff
path: root/umount.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-14 22:16:57 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-14 22:16:57 +0000
commit3c163822d88105450806fdb6a29fdfc2511267d1 (patch)
tree4c67645bbc6677ad2217da3cdf6c0a748e0ca88d /umount.c
parent2c1030177e0a6f849ba557400e3e4867de455ce9 (diff)
downloadbusybox-3c163822d88105450806fdb6a29fdfc2511267d1.tar.gz
Fixed cp -[aR] and some other stuf.
Diffstat (limited to 'umount.c')
-rw-r--r--umount.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/umount.c b/umount.c
index 5274e2f6f..04cd8a080 100644
--- a/umount.c
+++ b/umount.c
@@ -69,7 +69,7 @@ umount_main(int argc, char * * argv)
if (argc < 2) {
fprintf(stderr, "Usage: %s", umount_usage);
- return(FALSE);
+ exit(FALSE);
}
argc--;
argv++;
@@ -78,7 +78,7 @@ umount_main(int argc, char * * argv)
while (**argv == '-') {
while (*++(*argv)) switch (**argv) {
case 'a':
- return umount_all();
+ exit ( umount_all() );
break;
default:
fprintf(stderr, "Usage: %s\n", umount_usage);
@@ -86,10 +86,10 @@ umount_main(int argc, char * * argv)
}
}
if ( umount(*argv) == 0 )
- return (TRUE);
+ exit (TRUE);
else {
perror("umount");
- return( FALSE);
+ exit( FALSE);
}
}