improve message if JSON isn't installed
This commit is contained in:
parent
7215e419df
commit
1c13c66e36
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue