Skip to content

Commit a0784d7

Browse files
authored
Merge pull request #809 from jmrenouard/master
Fixing #807 #808 #806
2 parents 9fbfb60 + c4a3730 commit a0784d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysqltuner.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ package main;
233233

234234
$opt{cvefile} = 'vulnerabilities.csv'; #CVE File for vulnerability checks
235235
}
236-
$opt{prettyicon}=0 if $opt{prettyicon}!=1;
236+
$opt{noprettyicon}=0 if $opt{noprettyicon}!=1;
237237
$opt{nocolor} = 1 if defined( $opt{outputfile} );
238238
$opt{tbstat} = 0 if ( $opt{notbstat} == 1 ); # Don't print table information
239239
$opt{colstat} = 0 if ( $opt{nocolstat} == 1 ); # Don't print column information
@@ -286,7 +286,7 @@ package main;
286286
my $cmd = ( $opt{nocolor} == 0 ) ? "\e[1;32m[CMD]($me)" : "[CMD]($me)";
287287
my $end = ( $opt{nocolor} == 0 ) ? "\e[0m" : "";
288288

289-
if ($opt{prettyicon} == 1) {
289+
if ($opt{noprettyicon} == 0) {
290290
$good = "";
291291
$bad = "";
292292
$info = "";

0 commit comments

Comments
 (0)