aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-12 21:43:21 +0000
committerBill Nottingham <notting@redhat.com>2001-02-12 21:43:21 +0000
commit3456a54b833b9482dd59e8de72749878348f6bfe (patch)
tree8f9024f8939f8d746bfba92e7b58b2b14d51d965 /rc.d
parenta7c5088d1688335e6a7c9ff3f8b28d434d5105ac (diff)
downloadinitscripts-3456a54b833b9482dd59e8de72749878348f6bfe.tar
initscripts-3456a54b833b9482dd59e8de72749878348f6bfe.tar.gz
initscripts-3456a54b833b9482dd59e8de72749878348f6bfe.tar.bz2
initscripts-3456a54b833b9482dd59e8de72749878348f6bfe.tar.xz
initscripts-3456a54b833b9482dd59e8de72749878348f6bfe.zip
return 1 in killproc if process isn't running (#26718)
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 8d055bc4..e1a40d84 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -190,6 +190,7 @@ killproc() {
fi
else
failure $"$base shutdown"
+ RC=1
fi
# Remove pid file if any.