aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-09-01 14:41:07 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-09-01 14:41:07 -0500
commitb047ea47e97d7e8b96d6d0e064613f6860c8eb36 (patch)
tree1260ad8d8539a3da3c80c87d2bb280937b22a44d /init.d/netmount.in
parentb652752339690e10a55ae50d046f4cf2a98daf1a (diff)
localmount/netmount: on Linux, fail if some file systems do not mount
The following return codes are returned by mount -a: 0: all file systems mounted. 32: no file systems mounted. 64: some file systems mounted. The localmount/netmount services should fail if all file systems that should mount did not mount.
Diffstat (limited to 'init.d/netmount.in')
-rw-r--r--init.d/netmount.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/init.d/netmount.in b/init.d/netmount.in
index 9f8537d1..d9cf9c56 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -25,8 +25,6 @@ start()
ewend $rc "Could not mount all network filesystems"
if [ "$RC_UNAME" != Linux ]; then
rc=0
- elif [ "$rc" = 64 ]; then
- rc=0
fi
return $rc
}