From a44a649c9f5ef65c2bbba2b76eac58203f3af7a3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Sun, 14 Mar 1999 05:50:30 +0000 Subject: change variable name --- rc.d/init.d/functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 5f4e1d6a..1526b9f8 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -246,14 +246,14 @@ action() { else # This sucks. output=`$*` - rc=$? + returncode=$? if [ -n "$output" ]; then cmdname=`basename $1` initlogcmds=`echo $output | sed -e "s/^/ -n $cmdname -s \"/" | sed -e "s/$/\"/"` echo "$initlogcmds" >&21 fi - if [ $rc -eq 0 ]; then + if [ $returncode -eq 0 ]; then [ "$BOOTUP" = "verbose" ] && { if [ -n "$output" ]; then echo @@ -268,7 +268,7 @@ action() { failure "$STRING" fi [ "$BOOTUP" != "verbose" ] && echo - return $rc + return $returncode fi } -- cgit v1.2.1