aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/killall6
1 files changed, 0 insertions, 6 deletions
diff --git a/rc.d/init.d/killall b/rc.d/init.d/killall
index ee82f217..9d244119 100755
--- a/rc.d/init.d/killall
+++ b/rc.d/init.d/killall
@@ -3,8 +3,6 @@
# Bring down all unneeded services that are still running (there shouldn't
# be any, so this is just a sanity check)
-RETVAL=0
-
for i in /var/lock/subsys/*; do
# Check if the script is there.
[ ! -f $i ] && continue
@@ -17,10 +15,6 @@ for i in /var/lock/subsys/*; do
/etc/rc.d/init.d/$subsys.init stop
else
/etc/rc.d/init.d/$subsys stop
- else
- echo Warning: Could not stop \"$subsys\" \(no init script\).
- RETVAL=1
fi
done
-exit $RETVAL