[MDEV-17715] Bootstrap script uses return instead of exit Created: 2018-11-14  Updated: 2018-11-14  Resolved: 2018-11-14

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.3.10
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Oli Sennhauser Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: bootstrap, galera, script
Environment:

CentOS 7/MariaDB Repo package


Issue Links:
Duplicate
is duplicated by MDEV-17379 galera_new_cluster throws error in 10... Closed

 Description   

Test case:
/usr/bin/galera_new_cluster
/bin/galera_new_cluster: Zeile 31: return: can only `return' from a function or sourced script

Fix:

  • return $extcode
    + exit $extcode


 Comments   
Comment by Elena Stepanova [ 2018-11-14 ]

Thanks for the report. We have this one already: MDEV-17379

Generated at Thu Feb 08 08:38:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.