summaryrefslogtreecommitdiff
path: root/init.d/localmount.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-09 16:20:48 +0000
committerRoy Marples <roy@marples.name>2008-07-09 16:20:48 +0000
commit7183cb1b18957f05026e27036f7d70da1571f619 (patch)
treebbd7210dcd7be0e0a6419ad83a2385b1aee224e9 /init.d/localmount.in
parentb83108cd2e44bd20840295d595160c6354ed4256 (diff)
downloadopenrc-7183cb1b18957f05026e27036f7d70da1571f619.tar.gz
openrc-7183cb1b18957f05026e27036f7d70da1571f619.tar.bz2
openrc-7183cb1b18957f05026e27036f7d70da1571f619.tar.xz
Fix last commit
Diffstat (limited to 'init.d/localmount.in')
-rw-r--r--init.d/localmount.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in
index bcd39e7..c9c39db 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -47,7 +47,7 @@ stop()
if [ "${RC_UNAME}" = "Linux" ]; then
no_umounts_r="${no_umounts_r}|/proc|/proc/.*|/sys|/sys/.*"
fi
- no_umounts_r="^(${no_umounts})$"
+ no_umounts_r="^(${no_umounts_r})$"
# Flush all pending disk writes now
sync; sync
@@ -76,7 +76,7 @@ stop()
fs="${fs}${fs:+|}${x}"
done
[ -n "${fs}" ] && fs="^(${fs})$"
- do_unmount "umount" --skip-point-regex "${no_umounts}" \
+ do_unmount "umount" --skip-point-regex "${no_umounts_r}" \
${fs:+--skip-fstype-regex} ${fs} --nonetdev
eoutdent