summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-02-24 21:38:26 +0100
committerTom Gundersen <teg@jklm.no>2012-02-24 21:41:42 +0100
commitfd54cc63cd6853b839d8a0d15ff7c8506743ac5a (patch)
tree35f9adfd003ff63d3d9525935ee1f1c62bb2fc03
parent248c6f1679343f9e75647bf3b2fefc53c12ba058 (diff)
deal with both valid return codes of mount -a2012.02.2
Signed-off-by: Tom Gundersen <teg@jklm.no>
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions b/functions
index 833711b..9f2078d 100644
--- a/functions
+++ b/functions
@@ -477,6 +477,7 @@ 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() {