Skip to content

Commit

Permalink
Make tail log work again.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbvermaa committed Nov 16, 2023
1 parent adec882 commit 3afc0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Hydra/Controller/Root.pm
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ sub log :Local :Args(1) {

my $logPrefix = $c->config->{log_prefix};

if (defined $logPrefix) {
if (defined $logPrefix && ! defined $tail) {
$c->res->redirect($logPrefix . "log/" . basename($drvPath));
return;
}
Expand Down

0 comments on commit 3afc0c5

Please sign in to comment.