diff options
Diffstat (limited to 'extras/init.d')
-rwxr-xr-x | extras/init.d/glusterd-Redhat.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extras/init.d/glusterd-Redhat.in b/extras/init.d/glusterd-Redhat.in index 18f3debc4c..c260ca0cf3 100755 --- a/extras/init.d/glusterd-Redhat.in +++ b/extras/init.d/glusterd-Redhat.in @@ -57,20 +57,24 @@ stop() case $1 in start) start + RETVAL=$? ;; stop) stop + RETVAL=$? ;; status) status $BASE + RETVAL=$? ;; restart) $0 stop $0 start + RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart}." exit 1 esac -exit 0 +exit $RETVAL |