From c4a3730cd24fe84890c79a9a0bafbdf39ef4d7f0 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 14 Nov 2024 14:44:36 +0100 Subject: [PATCH] Fixing #807 #808 #806 --- mysqltuner.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 6af4f5e3..b9f3f674 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -233,7 +233,7 @@ package main; $opt{cvefile} = 'vulnerabilities.csv'; #CVE File for vulnerability checks } -$opt{prettyicon}=0 if $opt{prettyicon}!=1; +$opt{noprettyicon}=0 if $opt{noprettyicon}!=1; $opt{nocolor} = 1 if defined( $opt{outputfile} ); $opt{tbstat} = 0 if ( $opt{notbstat} == 1 ); # Don't print table information $opt{colstat} = 0 if ( $opt{nocolstat} == 1 ); # Don't print column information @@ -286,7 +286,7 @@ package main; my $cmd = ( $opt{nocolor} == 0 ) ? "\e[1;32m[CMD]($me)" : "[CMD]($me)"; my $end = ( $opt{nocolor} == 0 ) ? "\e[0m" : ""; -if ($opt{prettyicon} == 1) { +if ($opt{noprettyicon} == 0) { $good = "✔ "; $bad = "✘ "; $info = "ℹ ";