Fix status check, #239922

This commit is contained in:
Roy Marples 2008-10-08 18:32:39 +00:00
parent 8c8751fa60
commit a872fe5590

View File

@ -102,9 +102,9 @@ if [ "${RC_UNAME}" = "Linux" ]; then
do_unmount "mount -n -o remount,ro" \ do_unmount "mount -n -o remount,ro" \
--skip-point-regex "${no_umounts_r}" \ --skip-point-regex "${no_umounts_r}" \
${fs:+--skip-fstype-regex} ${fs} --nonetdev ${fs:+--skip-fstype-regex} ${fs} --nonetdev
eoutdent
eend $?
unmounted=$? unmounted=$?
eoutdent
eend ${unmounted}
fi fi
if [ ${unmounted} -ne 0 ]; then if [ ${unmounted} -ne 0 ]; then