[projects/cleanbuild] Update teeboth to report reasonable error

glen glen at pld-linux.org
Sun Dec 12 21:19:15 CET 2021


commit b528412d87bbb5fbd7c4632e91c684296d81e397
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Dec 12 22:17:02 2021 +0200

    Update teeboth to report reasonable error

 bin/teeboth | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/b528412d87bbb5fbd7c4632e91c684296d81e397



More information about the pld-cvs-commit mailing list