diff options
author | Roy Marples <roy@marples.name> | 2008-07-09 16:20:48 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-07-09 16:20:48 +0000 |
commit | 7183cb1b18957f05026e27036f7d70da1571f619 (patch) | |
tree | bbd7210dcd7be0e0a6419ad83a2385b1aee224e9 /init.d/localmount.in | |
parent | b83108cd2e44bd20840295d595160c6354ed4256 (diff) |
Fix last commit
Diffstat (limited to 'init.d/localmount.in')
-rw-r--r-- | init.d/localmount.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in index bcd39e7d..c9c39db4 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 |