diff options
author | Roy Marples <roy@marples.name> | 2007-09-03 14:02:15 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-09-03 14:02:15 +0000 |
commit | 52f7df0d0c36be3d92c67f46a0f9433b0150ccf4 (patch) | |
tree | 2530c6db89be6741140cbde3ad62617f066c4df4 /init.d/halt.sh | |
parent | a16695853725ea55b68732071f1d2d54c4ef51cf (diff) |
Add --quiet to mountinfo
Diffstat (limited to 'init.d/halt.sh')
-rwxr-xr-x | init.d/halt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/halt.sh b/init.d/halt.sh index 2a735613..ae369796 100755 --- a/init.d/halt.sh +++ b/init.d/halt.sh @@ -35,7 +35,7 @@ if [ "${RC_SYS}" = "VPS" ] ; then fi # If $svcdir is still mounted, preserve it if we can -if mountinfo "${RC_SVCDIR}" >/dev/null && [ -w "${RC_LIBDIR}" ] ; then +if mountinfo -q "${RC_SVCDIR}" && [ -w "${RC_LIBDIR}" ] ; then f_opts="-m -c" [ "${RC_UNAME}" = "Linux" ] && f_opts="-c" if [ -n "$(fuser ${f_opts} "${svcdir}" 2>/dev/null)" ] ; then |