aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-14 22:25:39 +0000
committerBill Nottingham <notting@redhat.com>2001-03-14 22:25:39 +0000
commitd4d5df4d0256981338ac0776af462c8070744352 (patch)
tree8bf727b3308f32bcd7415fc0c97258ebb4a54177 /rc.d
parent637e398c0808f21a30acb964e0d56589e949359f (diff)
downloadinitscripts-d4d5df4d0256981338ac0776af462c8070744352.tar
initscripts-d4d5df4d0256981338ac0776af462c8070744352.tar.gz
initscripts-d4d5df4d0256981338ac0776af462c8070744352.tar.bz2
initscripts-d4d5df4d0256981338ac0776af462c8070744352.tar.xz
initscripts-d4d5df4d0256981338ac0776af462c8070744352.zip
fix up --background some more
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"
}