From 35d38c3561fa5e16c6d2e00e033e48dc200ae42c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 6 Feb 2011 17:24:52 -0500 Subject: local: quote script names to handle spaces Signed-off-by: Mike Frysinger --- init.d/local.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/local.in b/init.d/local.in index 5583fea..4db492e 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 -- cgit v1.2.3