diff options
author | Tom Gundersen <teg@jklm.no> | 2012-02-24 22:36:33 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-02-24 22:36:33 +0100 |
commit | 7f42e7e621369aa6eaab446dc4c1bc3f04c4b266 (patch) | |
tree | 90a7ab19063ab88253bb6ac33079db9f4efa1895 | |
parent | fd54cc63cd6853b839d8a0d15ff7c8506743ac5a (diff) |
Revert "deal with both valid return codes of mount -a"
This reverts commit fd54cc63cd6853b839d8a0d15ff7c8506743ac5a.
The correct return codes of "mount -a" are:
0 all mounts succeeded
64 some mounts succeeded and some failed
32 all mounts failed
We want to show "FAILED" on all return codes except for 0.
There is a bug in the new mount where "ignored" is taken to be
"failed", which gives some false negative. This will be fixed in
util-linux.
-rw-r--r-- | functions | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -477,7 +477,6 @@ fsck_reboot() { mount_all() { mount -a -t "nosysfs,no${NETFS//,/,no}" -O no_netdev - return $(($? & ~64)) # ignore return code 64: some mounts succeeded } umount_all() { |