diff --git a/scripts/galera_new_cluster.sh b/scripts/galera_new_cluster.sh index f19188f6829..1b6f7c2e6a6 100644 --- a/scripts/galera_new_cluster.sh +++ b/scripts/galera_new_cluster.sh @@ -22,7 +22,7 @@ EOF fi echo _WSREP_NEW_CLUSTER='--wsrep-new-cluster' > @mysqlunixdir@/"wsrep-new-cluster" && \ - systemctl restart ${1:-mariadb} + systemctl restart mariadb.service extcode=$?