Use do_umount's return value instead of eoutdent's.
This commit is contained in:
parent
07e848638c
commit
aa7e2cd1fe
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user