aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rw-r--r--init.d/mount-ro.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in
index 881bf846..41b0b9ee 100644
--- a/init.d/mount-ro.in
+++ b/init.d/mount-ro.in
@@ -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
}