aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-02 19:52:48 +0000
committerBill Nottingham <notting@redhat.com>1999-09-02 19:52:48 +0000
commitda3e01c51775b70b80469b72f917f8fa3fa23e29 (patch)
treecfaa52a1c903348c9a7e9a7c2dd6cad908e0e1ae /rc.d
parentbcf764cc230177566b9803a02e66aeaf721d869a (diff)
downloadinitscripts-da3e01c51775b70b80469b72f917f8fa3fa23e29.tar
initscripts-da3e01c51775b70b80469b72f917f8fa3fa23e29.tar.gz
initscripts-da3e01c51775b70b80469b72f917f8fa3fa23e29.tar.bz2
initscripts-da3e01c51775b70b80469b72f917f8fa3fa23e29.tar.xz
initscripts-da3e01c51775b70b80469b72f917f8fa3fa23e29.zip
oops. reversed logic in killproc.
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 54e3a556..1ecdfa13 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -133,6 +133,7 @@ killproc() {
ps h $pid >/dev/null 2>&1
RC=$?
[ $RC -eq 0 ] && failure "$base shutdown" || success "$base shutdown"
+ RC=$((! $RC))
# use specified level only
else
if ps h $pid >/dev/null 2>&1; then