Issue #371
This commit is contained in:
parent
6d95d8642c
commit
8fda1dc284
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ open( $fh, '>', $outputfile )
|
||||||
or die("Fail opening $outputfile")
|
or die("Fail opening $outputfile")
|
||||||
if defined($outputfile);
|
if defined($outputfile);
|
||||||
$opt{nocolor} = 1 if defined($outputfile);
|
$opt{nocolor} = 1 if defined($outputfile);
|
||||||
|
$opt{nocolor} = 1 unless(-t STDOUT);
|
||||||
# Setting up the colors for the print styles
|
# Setting up the colors for the print styles
|
||||||
my $me = `whoami`;
|
my $me = `whoami`;
|
||||||
$me =~ s/\n//g;
|
$me =~ s/\n//g;
|
||||||
|
|
Loading…
Reference in a new issue