aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-03-14 05:50:30 +0000
committerBill Nottingham <notting@redhat.com>1999-03-14 05:50:30 +0000
commita44a649c9f5ef65c2bbba2b76eac58203f3af7a3 (patch)
treeff263d14a989812a17d42cbfa75593c0ccde1aa1
parentc6e4fe98949b5294bcb96ffd510f0857367a21be (diff)
downloadinitscripts-a44a649c9f5ef65c2bbba2b76eac58203f3af7a3.tar
initscripts-a44a649c9f5ef65c2bbba2b76eac58203f3af7a3.tar.gz
initscripts-a44a649c9f5ef65c2bbba2b76eac58203f3af7a3.tar.bz2
initscripts-a44a649c9f5ef65c2bbba2b76eac58203f3af7a3.tar.xz
initscripts-a44a649c9f5ef65c2bbba2b76eac58203f3af7a3.zip
change variable name
-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
}