From 8d98ead4f0127cccf41cca26dbaf048323db0b7a Mon Sep 17 00:00:00 2001 From: Jean-Marie RENOUARD Date: Mon, 7 Sep 2015 11:29:20 +0200 Subject: [PATCH] Issue #124: bug fix with noask password handling... from issue #110 patch --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 3efdb1e..9bf4622 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1076,7 +1076,7 @@ sub mysql_setup { return 1; } else { - if ( defined($opt{'noask'}) ) { + if ( $opt{'noask'}==1 ) { badprint "Attempted to use login credentials, but they were invalid"; exit 1; }