From df1ac9e1f4ed8545e2e86d3a4132e724fc22da0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 16 Oct 2013 22:49:06 +0300 Subject: [PATCH] when cluster init fails because it already exists, exit non-zero --- mysql.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql.init b/mysql.init index ab32354..b4dd314 100755 --- a/mysql.init +++ b/mysql.init @@ -455,7 +455,7 @@ mysqlinit() { nls "Seems that database is initialized now. Remove by hand %s" "$MYSQL_DATA_DIR/mysql" nls "before initializing database." nls "For now skipping cluster %s." "$clusterdir" - return + exit 6 fi show "Installing MySQL system tables for $MYSQL_DATA_DIR" -- 2.44.0