diff options
author | Bill Nottingham <notting@redhat.com> | 1999-09-02 19:52:48 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-09-02 19:52:48 +0000 |
commit | da3e01c51775b70b80469b72f917f8fa3fa23e29 (patch) | |
tree | cfaa52a1c903348c9a7e9a7c2dd6cad908e0e1ae /rc.d/init.d/functions | |
parent | bcf764cc230177566b9803a02e66aeaf721d869a (diff) | |
download | initscripts-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/init.d/functions')
-rwxr-xr-x | rc.d/init.d/functions | 1 |
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 |