Skip to content

Commit

Permalink
Merge pull request #217 from Icinga/update-target-last-scan-properly
Browse files Browse the repository at this point in the history
Job: Update target `last_scan` properly
  • Loading branch information
yhabteab authored Oct 27, 2023
2 parents 1f15f2f + d493ce9 commit 069a76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/X509/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public function isFinished(): bool

public function updateLastScan($target)
{
if (! $this->isRescan() || ! isset($target->id)) {
if (! $this->isRescan() && ! isset($target->id)) {
return;
}

Expand Down

0 comments on commit 069a76b

Please sign in to comment.