diff options
author | Matt Kraai | 2000-12-06 15:55:23 +0000 |
---|---|---|
committer | Matt Kraai | 2000-12-06 15:55:23 +0000 |
commit | 92ed8a351908d60966fd9498574c9e6ace7bd5ab (patch) | |
tree | e02182bd51b722505acc3a0b571d25e147a2efca /util-linux/umount.c | |
parent | ab147f608d1215a9208e6d1fe93b6532a707dae4 (diff) | |
download | busybox-92ed8a351908d60966fd9498574c9e6ace7bd5ab.zip busybox-92ed8a351908d60966fd9498574c9e6ace7bd5ab.tar.gz |
Fix exit status on failure.
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r-- | util-linux/umount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index 5f3e59c..eff0804 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c @@ -278,7 +278,7 @@ extern int umount_main(int argc, char **argv) else return EXIT_FAILURE; } - if (do_umount(*argv, useMtab) == 0) + if (do_umount(*argv, useMtab) == TRUE) return EXIT_SUCCESS; perror("umount"); return EXIT_FAILURE; |