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:
Dan 2022-09-06 12:02:26 -07:00 committed by GitHub
commit a5345e8468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 (