From: Michal Sojka Date: Wed, 5 Feb 2014 16:33:08 +0000 (+0100) Subject: run.pl redirects stdout rather than stderr in order to not loose error messages X-Git-Tag: fix-allnoconfig~41 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/5ea33ed114475e0f13e83309de6d56d8587c458f?ds=sidebyside run.pl redirects stdout rather than stderr in order to not loose error messages --- diff --git a/continuous/gw-setup/run.pl b/continuous/gw-setup/run.pl index 04433d6..befe36e 100755 --- a/continuous/gw-setup/run.pl +++ b/continuous/gw-setup/run.pl @@ -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: $!"; }