Fixed cp -[aR] and some other stuf.
diff --git a/umount.c b/umount.c
index 5274e2f..04cd8a0 100644
--- a/umount.c
+++ b/umount.c
@@ -69,7 +69,7 @@
if (argc < 2) {
fprintf(stderr, "Usage: %s", umount_usage);
- return(FALSE);
+ exit(FALSE);
}
argc--;
argv++;
@@ -78,7 +78,7 @@
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 @@
}
}
if ( umount(*argv) == 0 )
- return (TRUE);
+ exit (TRUE);
else {
perror("umount");
- return( FALSE);
+ exit( FALSE);
}
}