aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 2b28856b..d6efca3c 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -145,7 +145,7 @@ daemon() {
# And start it up.
if [ -z "$user" ]; then
- $nice $*
+ $nice /bin/bash -c "$*"
else
$nice runuser -s /bin/bash - $user -c "$*"
fi