hug getopt_long some more

This commit is contained in:
Roy Marples
2007-04-13 15:20:10 +00:00
parent 6dde29a0c9
commit 876bd89f4b
4 changed files with 63 additions and 52 deletions

View File

@ -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