This commit is contained in:
parent
36fdd7f37f
commit
6cef161793
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue