Skip to content
Permalink
Browse files
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.
@@ -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.