]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - teeboth
Release 2 (by relup.sh)
[packages/rpm-build-tools.git] / teeboth
diff --git a/teeboth b/teeboth
index 0612d642b8e67890d4c1192707657a5891f1ae90..459e0c888e4b1b563bfe10a844fd72ed4bad723a 100755 (executable)
--- a/teeboth
+++ b/teeboth
@@ -53,9 +53,9 @@ sethandle( \*child_err );
 
 while ( $alive ) {
        foreach my $h ( $select->can_read() ) {
-               sysread $h, $_, 1024;
+               sysread $h, $_, 102400;
                print $fout $_ if $fout;
-               if ( $h == \*child_err && $interactive ) {
+               if ( $interactive && $h == \*child_err ) {
                        print "\033[31m$_\033[0m";
                } else {
                        print $_;
This page took 0.582466 seconds and 4 git commands to generate.