]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
Update teeboth to report reasonable error
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 12 Dec 2021 20:17:02 +0000 (22:17 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 12 Dec 2021 20:18:49 +0000 (22:18 +0200)
bin/teeboth

index 6054118603d65eddfb9b40e4f553fa39d661ca3b..ca4454af8eecf2f7c6d8b6f32d2ec5cfc3dc850b 100755 (executable)
@@ -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;
This page took 0.191204 seconds and 4 git commands to generate.