From a1b47e2c4b8434ec8ee3320f8128b8d96681903e Mon Sep 17 00:00:00 2001 From: Leigh B Stoller Date: Wed, 10 Jun 2015 17:12:09 -0600 Subject: [PATCH] Fix for perl oddity I don't understand. --- apt/create_instance.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apt/create_instance.in b/apt/create_instance.in index 55945e68b..45816d592 100755 --- a/apt/create_instance.in +++ b/apt/create_instance.in @@ -1178,7 +1178,8 @@ sub RunStitcher() system("cd $tmpdir; $command > $stdoutfile 2> $stderrfile"); if ($?) { if (-s $stderrfile) { - $webtask->output(`cat $stderrfile`); + my $stuff = `cat $stderrfile`; + $webtask->output($stuff); system("/bin/cat $stderrfile"); } else { -- GitLab