aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1998-04-14 15:38:04 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1998-04-14 15:38:04 +0000
commit572b30c69f2ad099e9a371e3842398b6d7f8bea4 (patch)
tree5b02a38bdbba0cdb53a79a00017501456d9abbb9
parenta61919722d8162b6154fabeaad6a9a43ccec2277 (diff)
downloadinitscripts-572b30c69f2ad099e9a371e3842398b6d7f8bea4.tar
initscripts-572b30c69f2ad099e9a371e3842398b6d7f8bea4.tar.gz
initscripts-572b30c69f2ad099e9a371e3842398b6d7f8bea4.tar.bz2
initscripts-572b30c69f2ad099e9a371e3842398b6d7f8bea4.tar.xz
initscripts-572b30c69f2ad099e9a371e3842398b6d7f8bea4.zip
only kill things that are currently up
-rwxr-xr-xrc.d/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc b/rc.d/rc
index 3ccd63c4..3d4b96f6 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -45,7 +45,7 @@ if [ -d /etc/rc.d/rc$runlevel.d ]; then
# Check if the subsystem is already up.
subsys=${i#/etc/rc.d/rc$runlevel.d/S??}
- [ -f /var/lock/subsys/$subsys ] && \
+ [ -f /var/lock/subsys/$subsys ] || \
[ -f /var/lock/subsys/${subsys}.init ] && continue
# Bring the subsystem up.