Use do_umount's return value instead of eoutdent's.

This commit is contained in:
Christian Ruppert 2012-08-18 22:37:15 +02:00
parent 07e848638c
commit aa7e2cd1fe

View File

@ -12,6 +12,8 @@ depend()
start()
{
local ret=0
# Flush all pending disk writes now
sync; sync
@ -39,6 +41,9 @@ start()
do_unmount "umount -r" \
--skip-point-regex "$m" \
"${fs:+--skip-fstype-regex}" $fs --nonetdev
ret=$?
eoutdent
eend $?
eend $ret
}