This commit is contained in:
Eelco Dolstra 2009-03-06 14:03:09 +00:00
parent 36fdd7f37f
commit 6cef161793

View file

@ -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;
}
}