diff options
author | Bill Nottingham <notting@redhat.com> | 1999-02-19 01:03:28 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-02-19 01:03:28 +0000 |
commit | 8a287013f87a889ad57acf9dc32cf487b297c5e8 (patch) | |
tree | 490749cd04226cf1fb836aea97cc3707745cf349 /rc.d/init.d/functions | |
parent | 482ec9ae23d29e330cc9899d16418f08c1e26731 (diff) | |
download | initscripts-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
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-x | rc.d/init.d/functions | 6 |
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` |