gerrit.sh: modify restart command to exit with correct error code

Change-Id: Ic68b93f54ab69eee693237c3ac48f3c14ba9b6df
This commit is contained in:
Zac Livingston 2016-08-02 08:54:08 -06:00 committed by Hugo Arès
parent 7acf5164ba
commit 9e992fe3d3
1 changed files with 1 additions and 0 deletions

View File

@ -498,6 +498,7 @@ case "$ACTION" in
$GERRIT_SH stop $* $GERRIT_SH stop $*
sleep 5 sleep 5
$GERRIT_SH start $* $GERRIT_SH start $*
exit $?
;; ;;
supervise) supervise)