summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-02-24 22:36:33 +0100
committerTom Gundersen <teg@jklm.no>2012-02-24 22:36:33 +0100
commit7f42e7e621369aa6eaab446dc4c1bc3f04c4b266 (patch)
tree90a7ab19063ab88253bb6ac33079db9f4efa1895
parentfd54cc63cd6853b839d8a0d15ff7c8506743ac5a (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--functions1
1 files changed, 0 insertions, 1 deletions
diff --git a/functions b/functions
index 9f2078d..833711b 100644
--- a/functions
+++ b/functions
@@ -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() {