From 2050e67911ee21651da43c578b93d49cee379201 Mon Sep 17 00:00:00 2001 From: Kirill Elagin Date: Fri, 24 Jun 2011 11:59:14 -0500 Subject: [PATCH] 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 --- init.d/localmount.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"