aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/killall
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-30 15:44:02 +0000
committerBill Nottingham <notting@redhat.com>1999-09-30 15:44:02 +0000
commit60e0895a5fbe5a09553791be32d282e972050f24 (patch)
treee5af8420eae304a7bc46ac0760db4af12a1b5b18 /rc.d/init.d/killall
parent51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac (diff)
downloadinitscripts-60e0895a5fbe5a09553791be32d282e972050f24.tar
initscripts-60e0895a5fbe5a09553791be32d282e972050f24.tar.gz
initscripts-60e0895a5fbe5a09553791be32d282e972050f24.tar.bz2
initscripts-60e0895a5fbe5a09553791be32d282e972050f24.tar.xz
initscripts-60e0895a5fbe5a09553791be32d282e972050f24.zip
save for later
Diffstat (limited to 'rc.d/init.d/killall')
-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