aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-06-23 17:13:37 +0000
committerBill Nottingham <notting@redhat.com>2005-06-23 17:13:37 +0000
commit571722ad7f8e5f90e000e18cc32411a185ef2f61 (patch)
tree50d3ef2281cb5d3bd1416d4b747b147652e880a8
parent580334b85ab0f5308a901cecd9da6af80ecc8538 (diff)
downloadinitscripts-571722ad7f8e5f90e000e18cc32411a185ef2f61.tar
initscripts-571722ad7f8e5f90e000e18cc32411a185ef2f61.tar.gz
initscripts-571722ad7f8e5f90e000e18cc32411a185ef2f61.tar.bz2
initscripts-571722ad7f8e5f90e000e18cc32411a185ef2f61.tar.xz
initscripts-571722ad7f8e5f90e000e18cc32411a185ef2f61.zip
handle odd quoting in args (#161316, <stransky@redhat.com>)
-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