Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #850 from HeMan/10.3
Return code from starting MariaDB.
  • Loading branch information
Jan Lindström committed Sep 11, 2018
2 parents ffd583b + ff5a482 commit 8dda6d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/galera_new_cluster.sh
Expand Up @@ -27,4 +27,8 @@ COMPILATION_COMMENT="@COMPILATION_COMMENT@"
systemctl set-environment _WSREP_NEW_CLUSTER='--wsrep-new-cluster' && \
systemctl start ${1:-mariadb}

extcode=$?

systemctl set-environment _WSREP_NEW_CLUSTER=''

return $extcode

0 comments on commit 8dda6d7

Please sign in to comment.