aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-02-19 01:03:28 +0000
committerBill Nottingham <notting@redhat.com>1999-02-19 01:03:28 +0000
commit8a287013f87a889ad57acf9dc32cf487b297c5e8 (patch)
tree490749cd04226cf1fb836aea97cc3707745cf349
parent482ec9ae23d29e330cc9899d16418f08c1e26731 (diff)
downloadinitscripts-r3-90.tar
initscripts-r3-90.tar.gz
initscripts-r3-90.tar.bz2
initscripts-r3-90.tar.xz
initscripts-r3-90.zip
$@ -> $*. I knew there was a reason I did that.r3-90
-rwxr-xr-xrc.d/init.d/functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 7f0a4488..14ba5025 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -53,7 +53,7 @@ daemon() {
[ $BOOTUP != "color" ] && echo -n " $base"
# And start it up.
- nice -n $nicelevel initlog $INITLOG_ARGS -c "$@" && success "$base startup" || failure "$base startup"
+ nice -n $nicelevel initlog $INITLOG_ARGS -c "$*" && success "$base startup" || failure "$base startup"
}
# A function to stop a program.
@@ -210,14 +210,14 @@ action() {
echo -n "$STRING "
shift
if [ -z "$IN_INITLOG" ]; then
- initlog $INITLOG_ARGS -c "$@" && success "$STRING" || failure "$STRING"
+ initlog $INITLOG_ARGS -c "$*" && success "$STRING" || failure "$STRING"
rc=$?
# [ "$BOOTUP" = "color" ] && echo
echo
return $rc
else
# This sucks.
- output=`$@`
+ output=`$*`
rc=$?
if [ -n "$output" ]; then
cmdname=`basename $1`