From 16237f7778a18fd0172085aa071c77d02d49dc47 Mon Sep 17 00:00:00 2001 From: Long Radix <74498097+longradix@users.noreply.github.com> Date: Tue, 28 Mar 2023 19:30:26 +0200 Subject: [PATCH] Update mysqltuner.pl Remove duplicate code comment --- mysqltuner.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 08d94ae..3af3c1a 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -245,8 +245,6 @@ $opt{nocolor} = 0 if ( $opt{color} == 1 ); # Setting up the colors for the print styles my $me = `whoami`; $me =~ s/\n//g; - -# Setting up the colors for the print styles my $good = ( $opt{nocolor} == 0 ) ? "[\e[0;32mOK\e[0m]" : "[OK]"; my $bad = ( $opt{nocolor} == 0 ) ? "[\e[0;31m!!\e[0m]" : "[!!]"; my $info = ( $opt{nocolor} == 0 ) ? "[\e[0;34m--\e[0m]" : "[--]";