diff options
author | Nirbhay Choubey <nirbhay@skysql.com> | 2014-08-06 15:45:53 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@skysql.com> | 2014-08-06 15:45:53 -0400 |
commit | 4788577c203402ba228f0dbf874ca2becb6b8fa1 (patch) | |
tree | fdd37f69b474a6505b59317501b65502e85db900 /support-files | |
parent | ec91eea8dbae4276ff6e31a0d80c0b523f88ed88 (diff) | |
download | mariadb-git-4788577c203402ba228f0dbf874ca2becb6b8fa1.tar.gz |
bzr merge -r3997..4010 codership-mysql/5.5
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.server.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index ae3dd2e8bc1..19f07dcf2fc 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -364,7 +364,10 @@ case "$mode" in # Stop the service and regardless of whether it was # running or not, start it again. if $0 stop $other_args; then - $0 start $other_args + if ! $0 start $other_args; then + log_failure_msg "Failed to restart server." + exit 1 + fi else log_failure_msg "Failed to stop running server, so refusing to try to start." exit 1 |