diff --git a/src/lib/Hydra/Controller/Build.pm b/src/lib/Hydra/Controller/Build.pm index 9f420f38..a6660c39 100644 --- a/src/lib/Hydra/Controller/Build.pm +++ b/src/lib/Hydra/Controller/Build.pm @@ -80,7 +80,7 @@ sub showLog { } elsif ($mode eq "tail") { - $c->stash->{'plain'} = { data => scalar `tail -n 50 $path` }; + $c->stash->{'plain'} = { data => (scalar `tail -n 50 /tmp/z`) || " " }; $c->forward('Hydra::View::Plain'); }