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.
This commit is contained in:
parent
b652752339
commit
b047ea47e9
@ -31,8 +31,6 @@ start()
|
||||
rc=$?
|
||||
if [ "$RC_UNAME" != Linux ]; then
|
||||
rc=0
|
||||
elif [ "$rc" = 64 ]; then
|
||||
rc=0
|
||||
fi
|
||||
return $rc
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user