add late phase too so that users can still access content in db

This commit is contained in:
Oliver Gorwits
2019-03-14 22:03:08 +00:00
parent 4e63a2be10
commit a6af25672b
3 changed files with 5 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ sub finalise_status {
foreach my $status (reverse @{ $job->_statuslist }) {
next if $status->phase
and $status->phase !~ m/^(?:check|early|main|store)$/;
and $status->phase !~ m/^(?:check|early|main|store|late)$/;
# done() from check phase should not be the action's done()
next if $status->phase eq 'check' and $status->is_ok;