]> git.pld-linux.org Git - packages/mysql.git/commitdiff
when cluster init fails because it already exists, exit non-zero
authorElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 19:49:06 +0000 (22:49 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 19:49:06 +0000 (22:49 +0300)
mysql.init

index ab323549a136fd1178b1065d07c167f4b0b0e657..b4dd31442ec9eb8291b8b958711a8f3ebbca3eda 100755 (executable)
@@ -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"
This page took 0.062331 seconds and 4 git commands to generate.