diff options
author | Elan Ruusamäe | 2021-12-12 20:17:02 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2021-12-12 20:18:49 (GMT) |
commit | b528412d87bbb5fbd7c4632e91c684296d81e397 (patch) | |
tree | a4df15992806342a73de3268173ac5643605ffb7 | |
parent | 6569f6a5ddbf050f5d6986ea60610a8202729b5e (diff) | |
download | cleanbuild-b528412d87bbb5fbd7c4632e91c684296d81e397.zip cleanbuild-b528412d87bbb5fbd7c4632e91c684296d81e397.tar.gz |
Update teeboth to report reasonable error
-rwxr-xr-x | bin/teeboth | 2 |
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; |