aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-09-24 10:38:32 -0700
committerBill Nottingham <notting@redhat.com>2009-09-24 10:38:32 -0700
commit25a961362812fc5f150717e87a0f724940f6efc9 (patch)
tree3b1776316463e7b7c44338ab8cfec76d27c80042
parent01ce6042fb22268d6b9c50436ccd617b5839b894 (diff)
downloadinitscripts-25a961362812fc5f150717e87a0f724940f6efc9.tar
initscripts-25a961362812fc5f150717e87a0f724940f6efc9.tar.gz
initscripts-25a961362812fc5f150717e87a0f724940f6efc9.tar.bz2
initscripts-25a961362812fc5f150717e87a0f724940f6efc9.tar.xz
initscripts-25a961362812fc5f150717e87a0f724940f6efc9.zip
Fix stop/start return codes (#524489).
-rwxr-xr-xrc.d/init.d/netfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 27de3619..d75c2fd8 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -158,9 +158,11 @@ case "$1" in
restart)
$0 stop
$0 start
+ exit $?
;;
reload)
$0 start
+ exit $?
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status}"