From 5ea33ed114475e0f13e83309de6d56d8587c458f Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 5 Feb 2014 17:33:08 +0100 Subject: [PATCH] run.pl redirects stdout rather than stderr in order to not loose error messages --- continuous/gw-setup/run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: $!"; } -- 2.39.2