aboutsummaryrefslogtreecommitdiff
path: root/init.d/checkroot
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-13 15:20:10 +0000
committerRoy Marples <roy@marples.name>2007-04-13 15:20:10 +0000
commit876bd89f4b99f0149b526d88bb03f91847f0c33d (patch)
treee3af75ed9891a5a0de3e07811761d190ff65db85 /init.d/checkroot
parent6dde29a0c940a16b2228233fc5d2336eca2f6d2f (diff)
hug getopt_long some more
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