diff options
author | Kirill Elagin <kirelagin@gmail.com> | 2011-06-24 11:59:14 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-06-24 12:13:28 -0500 |
commit | 2050e67911ee21651da43c578b93d49cee379201 (patch) | |
tree | c36d289d3d8aea36b20ab55ce85b542b655ac691 /init.d | |
parent | 013e7fb9fc08acd33e944659ff8e7a18aee2b69f (diff) |
localmount: make OIFS and CIFS local in stop function
X-Gentoo-Bug: 371141
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=371141
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/localmount.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in index b4f73460..3b7ba443 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -37,7 +37,7 @@ stop() local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}" no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec" # RC_NO_UMOUNTS is an env var that can be set by plugins - OIFS=$IFS SIFS=${IFS-y} + local OIFS=$IFS SIFS=${IFS-y} IFS=$IFS: for x in $no_umounts $RC_NO_UMOUNTS; do no_umounts_r="$no_umounts_r|$x" |