summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-05-05 13:16:21 +0200
committerAndreas Schwab <schwab@redhat.com>2010-05-05 13:16:21 +0200
commit88e7f439dbf5066799f8886fea538221ae8d62ec (patch)
tree4f3d982c09afde18de9376652405da56d7545c1b /nscd
parentb4ee0fbd5e3555f76f5569ef240c06e42e7d38ad (diff)
Fix exit codes in nscd start script
Diffstat (limited to 'nscd')
-rw-r--r--nscd/nscd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd.init b/nscd/nscd.init
index df313c59e0..cf2461b9c7 100644
--- a/nscd/nscd.init
+++ b/nscd/nscd.init
@@ -76,7 +76,7 @@ case "$1" in
RETVAL=$?
;;
stop)
- stop
+ [ ! -e /var/lock/subsys/nscd ] || stop
RETVAL=$?
;;
status)