commit 1099ff3c54a3e93b465a988294c3d0d6d8b4138d
parent edaefeee027d652d0c9f0be56d20d66249bc8941
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Fri, 29 Apr 2016 00:22:48 +0200
sbocheck: remove redundant check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbocheck b/sbocheck
@@ -126,7 +126,7 @@ sub print_output {
my ($log_fh, $exit) = open_fh($logfile, '>');
# non-fatal
if ($exit) {
- warn $log_fh if $exit;
+ warn $log_fh;
} else {
say {$log_fh} $_ for @listing;
close $log_fh;