From 84d108bc702dbae5e7209f949ec8c3ab8b04007c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Mar 2016 16:35:59 +0100 Subject: [PATCH] Broken code fixed --- mysqltuner.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 0756ad3..eb32211 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -74,7 +74,7 @@ my %opt = ( "buffers" => 0, "passwordfile" => 0, "bannedports" => '', - "maxportallowed"= >0, + "maxportallowed"=> 0, "outputfile" => 0, "dbstat" => 0, "idxstat" => 0, @@ -94,7 +94,7 @@ GetOptions( 'mysqlcmd=s', 'help', 'buffers', 'skippassword', 'passwordfile=s', 'outputfile=s', 'silent', 'dbstat', 'json', 'idxstat', 'noask', 'template=s', 'reportfile=s', 'cvefile=s', - 'bannedports=s','maxportallowed=s' + 'bannedports=s','maxportallowed=s', ); if ( defined $opt{'help'} && $opt{'help'} == 1 ) { usage(); }