aboutsummaryrefslogtreecommitdiff
path: root/init.d/checkroot
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/checkroot')
-rwxr-xr-xinit.d/checkroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/checkroot b/init.d/checkroot
index c7fb66d3..2fa22ec5 100755
--- a/init.d/checkroot
+++ b/init.d/checkroot
@@ -22,7 +22,7 @@ do_mtab() {
local mnt= mnts="$(mountinfo | sed -e "s/^/'/g" -e "s/$/'/g")"
eval set -- ${mnts}
for mnt in "$@" ; do
- if fstabinfo --mount-cmd "${mnt}" >/dev/null ; then
+ if fstabinfo --mountcmd "${mnt}" >/dev/null ; then
mount -f -o remount "${mnt}"
fi
done