From b608da0fb1a8ad3200b5857a4ef6e6706934ab46 Mon Sep 17 00:00:00 2001 From: Fabio Pedretti Date: Thu, 11 Jan 2024 11:27:25 +0100 Subject: [PATCH] Enable color by default when running on a terminal --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 mysqltuner.pl diff --git a/mysqltuner.pl b/mysqltuner.pl old mode 100644 new mode 100755 index 0ba09b7eb..bba42b984 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -68,7 +68,7 @@ package main; "noinfo" => 0, "debug" => 0, "nocolor" => ( !-t STDOUT ), - "color" => 0, + "color" => ( -t STDOUT ), "forcemem" => 0, "forceswap" => 0, "host" => 0,