diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-02-06 17:24:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-02-14 12:06:58 -0500 |
commit | 35d38c3561fa5e16c6d2e00e033e48dc200ae42c (patch) | |
tree | 7ea9593f219aa06fc96200407a9529c1173f34c2 | |
parent | c0aa27ef328190646116e23fe82b64a606ae39fa (diff) |
local: quote script names to handle spaces
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | init.d/local.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/local.in b/init.d/local.in index 5583fead..4db492ed 100644 --- a/init.d/local.in +++ b/init.d/local.in @@ -16,7 +16,7 @@ start() local file for file in @SYSCONFDIR@/local.d/*.start ; do - [ -x $file ] && $file + [ -x "$file" ] && "$file" done if type local_start >/dev/null 2>&1; then @@ -36,7 +36,7 @@ stop() local file for file in @SYSCONFDIR@/local.d/*.stop; do - [ -x $file ] && $file + [ -x "$file" ] && "$file" done if type local_start >/dev/null 2>&1; then |