mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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]
This commit is contained in:
@@ -445,8 +445,9 @@ case "$mode" in
|
|||||||
'bootstrap')
|
'bootstrap')
|
||||||
# Bootstrap the cluster, start the first node
|
# Bootstrap the cluster, start the first node
|
||||||
# that initiate the cluster
|
# that initiate the cluster
|
||||||
echo $echo_n "Bootstrapping the cluster"
|
echo $echo_n "Bootstrapping the cluster.. "
|
||||||
$0 start $other_args --wsrep-new-cluster
|
$0 start $other_args --wsrep-new-cluster
|
||||||
|
exit $?
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# usage
|
# usage
|
||||||
|
Reference in New Issue
Block a user