diff --git a/oam/install_scripts/post-mysql-install b/oam/install_scripts/post-mysql-install index 58c469a98..dc9b7ca67 100755 --- a/oam/install_scripts/post-mysql-install +++ b/oam/install_scripts/post-mysql-install @@ -13,6 +13,7 @@ checkForError() { password=`cat $HOME/.my.cnf | grep password | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $3}'` if [ ! -z $password ]; then pwprompt="-p$password" + return 1; else echo "MySQL Password file missing or incorrect, check .my.cnf file" rm -f /tmp/error.check