aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-04-29 00:22:48 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-04-29 00:22:48 +0200
commit1099ff3c54a3e93b465a988294c3d0d6d8b4138d (patch)
tree1f3107cd4aac00df62883403ec1b42548a7107a1
parentedaefeee027d652d0c9f0be56d20d66249bc8941 (diff)
downloadsbotools2-1099ff3c54a3e93b465a988294c3d0d6d8b4138d.tar.xz
sbocheck: remove redundant check
-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;