aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/localmount.in2
-rw-r--r--init.d/mount-ro.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in
index 54448892..42b79883 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -59,7 +59,7 @@ stop()
no_umounts_r="^($no_umounts_r)$"
# Flush all pending disk writes now
- sync; sync
+ sync
. "$RC_LIBEXECDIR"/sh/rc-mount.sh
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in
index f8d72586..3e093522 100644
--- a/init.d/mount-ro.in
+++ b/init.d/mount-ro.in
@@ -15,7 +15,7 @@ start()
local ret=0
# Flush all pending disk writes now
- sync; sync
+ sync
ebegin "Remounting remaining filesystems read-only"
# We need the do_unmount function