This commit is contained in:
Eelco Dolstra 2009-03-20 10:26:50 +00:00
parent e076c0cff4
commit d1affbfe1a

View file

@ -80,7 +80,7 @@ sub showLog {
} }
elsif ($mode eq "tail") { elsif ($mode eq "tail") {
$c->stash->{'plain'} = { data => (scalar `tail -n 50 /tmp/z`) || " " }; $c->stash->{'plain'} = { data => (scalar `tail -n 50 $path`) || " " };
$c->forward('Hydra::View::Plain'); $c->forward('Hydra::View::Plain');
} }