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"