summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2018-11-09 08:41:05 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-11-09 08:41:05 +0200
commit781f1a765b322d3d2a26c56e13d542403702a771 (patch)
tree5cf2c7de8acbdf3ea3033378d7de9eaff414c2e2 /scripts
parent3074beaad6bf259c6427d77783ea821d0b16b424 (diff)
downloadmariadb-git-781f1a765b322d3d2a26c56e13d542403702a771.tar.gz
MDEV-17379: galera_new_cluster throws error in 10.3.10
Use exit instead of return.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/galera_new_cluster.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/galera_new_cluster.sh b/scripts/galera_new_cluster.sh
index 5a8ca6958a7..e0763ed516a 100755
--- a/scripts/galera_new_cluster.sh
+++ b/scripts/galera_new_cluster.sh
@@ -28,4 +28,4 @@ extcode=$?
systemctl set-environment _WSREP_NEW_CLUSTER=''
-return $extcode
+exit $extcode