summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2021-12-12 20:17:02 (GMT)
committerElan Ruusamäe2021-12-12 20:18:49 (GMT)
commitb528412d87bbb5fbd7c4632e91c684296d81e397 (patch)
treea4df15992806342a73de3268173ac5643605ffb7
parent6569f6a5ddbf050f5d6986ea60610a8202729b5e (diff)
downloadcleanbuild-b528412d87bbb5fbd7c4632e91c684296d81e397.zip
cleanbuild-b528412d87bbb5fbd7c4632e91c684296d81e397.tar.gz
Update teeboth to report reasonable error
-rwxr-xr-xbin/teeboth2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/teeboth b/bin/teeboth
index 6054118..ca4454a 100755
--- a/bin/teeboth
+++ b/bin/teeboth
@@ -11,7 +11,7 @@ use IO::Select;
my $out = shift @ARGV;
die unless @ARGV;
-open my $fout, ">", $out or die;
+open my $fout, ">", $out or die "Can't open: $out: $!";
my $select = IO::Select->new();
my $alive = 1;