From fd54cc63cd6853b839d8a0d15ff7c8506743ac5a Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Fri, 24 Feb 2012 21:38:26 +0100 Subject: deal with both valid return codes of mount -a Signed-off-by: Tom Gundersen --- functions | 1 + 1 file changed, 1 insertion(+) 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() { -- cgit v1.2.3-54-g00ecf