aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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
}