aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbocheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbocheck b/sbocheck
index 3d3a29c..d6f654a 100755
--- 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;