commit | 92ed8a351908d60966fd9498574c9e6ace7bd5ab | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Wed Dec 06 15:55:23 2000 +0000 |
committer | Matt Kraai <kraai@debian.org> | Wed Dec 06 15:55:23 2000 +0000 |
tree | e02182bd51b722505acc3a0b571d25e147a2efca | |
parent | ab147f608d1215a9208e6d1fe93b6532a707dae4 [diff] [blame] |
Fix exit status on failure.
diff --git a/umount.c b/umount.c index 5f3e59c..eff0804 100644 --- a/umount.c +++ b/umount.c
@@ -278,7 +278,7 @@ else return EXIT_FAILURE; } - if (do_umount(*argv, useMtab) == 0) + if (do_umount(*argv, useMtab) == TRUE) return EXIT_SUCCESS; perror("umount"); return EXIT_FAILURE;