]> 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>
Thu, 14 Nov 2013 09:22:10 +0000 (11:22 +0200)
mysql.init

index 632e9bb5ec05accbfce43e217dc99e39015ae9f1..fbc7ab16690369b434a6baad55219e697a6e9612 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.21309 seconds and 4 git commands to generate.