diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2014-12-20 19:49:04 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2014-12-20 19:49:04 -0500 |
commit | cb47155c68f38c6931fd539a8615373199b4ee64 (patch) | |
tree | 84d5bfa0ddbe884acc76df136207722d612614df /support-files | |
parent | 89b2bc42f405e20af11423b0cf83032fcb2a3de4 (diff) | |
download | mariadb-git-cb47155c68f38c6931fd539a8615373199b4ee64.tar.gz |
MDEV-7319 : Galera bootstrap (/etc/init.d/mysql bootstrap)
returns code 0 on failure
Modified init script to return with proper exit status for
bootstrap command. [Based on Kenny Rasschaert's suggestion]
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.server.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 19f07dcf2fc..1600cb0f86a 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -447,8 +447,9 @@ case "$mode" in 'bootstrap') # Bootstrap the cluster, start the first node # that initiate the cluster - echo $echo_n "Bootstrapping the cluster" + echo $echo_n "Bootstrapping the cluster.. " $0 start $other_args --wsrep-new-cluster + exit $? ;; *) # usage |