From 6cef161793b1e7a01bf6b1ac94fc0850527ae152 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 6 Mar 2009 14:03:09 +0000 Subject: [PATCH] --- src/lib/Hydra/Controller/Build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Build.pm b/src/lib/Hydra/Controller/Build.pm index a91f1a9e..c0e5802c 100644 --- a/src/lib/Hydra/Controller/Build.pm +++ b/src/lib/Hydra/Controller/Build.pm @@ -34,7 +34,7 @@ sub view_build : Chained('build') PathPart('') Args(0) { if (!$build->finished && $build->schedulingInfo->busy) { my $logfile = $build->schedulingInfo->logfile; - $c->stash->{logtext} = `cat $logfile`; + $c->stash->{logtext} = `cat $logfile` if -e $logfile; } }