From 1c13c66e36b150902a394158d6377baad2a457c5 Mon Sep 17 00:00:00 2001 From: Christian Loos Date: Tue, 30 Aug 2016 15:37:42 +0200 Subject: [PATCH] improve message if JSON isn't installed --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index ac4bfa7..24e1184 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -4064,7 +4064,7 @@ sub dump_result { if ( $opt{'json'} ne 0 ) { eval {require JSON}; if ($@) { - print "JSON Module is needed."; + print "$bad JSON Module is needed.\n"; exit 1; } my $json = JSON->new->allow_nonref;