]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - continuous/gw-setup/run.pl
run.pl redirects stdout rather than stderr in order to not loose error messages
[can-benchmark.git] / continuous / gw-setup / run.pl
index 04433d6bd102c51b15745b5ba206490ba75ea32e..befe36e7e63a473e48003592a359eca5a48419a4 100755 (executable)
@@ -50,7 +50,7 @@ sub run_boot()
        setpgrp(); # Start new process group so that we can kill all
                    # background processes at once
        close($boot);
-       open(STDERR, ">&", $wh) || die "Can't dup STDERR: $!";
+       open(STDOUT, ">&", $wh) || die "Can't dup STDOUT: $!";
        my $cmd = "$bootcmd | tee /dev/stderr";
        exec($cmd) || die "Can't exec $cmd: $!";
     }