aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index d952ddc3..a07ff7e5 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -130,9 +130,9 @@ daemon() {
# And start it up.
if [ -z "$user" ]; then
- $nice initlog $INITLOG_ARGS -c "$*$bg"
+ $nice initlog $INITLOG_ARGS -c "$*" "$bg"
else
- $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*$bg\"" && success $"$base startup" || failure $"$base startup"
+ $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*\"" "$bg" && success $"$base startup" || failure $"$base startup"
fi
[ $? = 0 ] && success $"$base startup" || failure $"$base startup"
}