summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 8fd467c..7cc2d47 100644
--- a/init
+++ b/init
@@ -37,7 +37,7 @@ else
fi
if [ -n "${disablehooks}" ]; then
- for d in $(echo "${disablehooks}" | sed 's|,| |g'); do
+ for d in ${disablehooks//,/ }; do
eval "hook_${d}=disabled"
done
fi