Skip to content

Commit

Permalink
Fix exit codes in nscd start script
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Sep 10, 2009
1 parent ca90242 commit 85cf374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nscd/nscd.init
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ restart() {
# See how we were called.
case "$1" in
start)
start
[ -e /var/lock/subsys/nscd ] || start
RETVAL=$?
;;
stop)
Expand All @@ -88,7 +88,7 @@ case "$1" in
RETVAL=$?
;;
try-restart | condrestart)
[ -e /var/lock/subsys/nscd ] && restart
[ ! -e /var/lock/subsys/nscd ] || restart
RETVAL=$?
;;
force-reload | reload)
Expand Down

0 comments on commit 85cf374

Please sign in to comment.