Merge pull request #1277 from af7567/winupdatesfix
When checking if patches are to be installed, don't exit the function after finding a patched machine.
This commit is contained in:
commit
a5345e8468
|
@ -72,7 +72,7 @@ def check_agent_update_schedule_task() -> None:
|
||||||
if last_installed.strftime("%d/%m/%Y") == agent_localtime_now.strftime(
|
if last_installed.strftime("%d/%m/%Y") == agent_localtime_now.strftime(
|
||||||
"%d/%m/%Y"
|
"%d/%m/%Y"
|
||||||
):
|
):
|
||||||
return
|
continue
|
||||||
|
|
||||||
# check if schedule is set to daily/weekly and if now is the time to run
|
# check if schedule is set to daily/weekly and if now is the time to run
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue