aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.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