From 8a287013f87a889ad57acf9dc32cf487b297c5e8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 19 Feb 1999 01:03:28 +0000 Subject: $@ -> $*. I knew there was a reason I did that. --- rc.d/init.d/functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.d') 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` -- cgit v1.2.1