From ded0f3091e16b4e58a1340a08bbbbc121fb49e97 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 19 May 2016 08:04:22 +0200 Subject: [PATCH] Don't allow delay if changes are available since a long time Even for admins --- softwares/FWSUpdates/bin/chkupd.bat | 2 -- 1 file changed, 2 deletions(-) diff --git a/softwares/FWSUpdates/bin/chkupd.bat b/softwares/FWSUpdates/bin/chkupd.bat index fb6aa46..f2145b8 100644 --- a/softwares/FWSUpdates/bin/chkupd.bat +++ b/softwares/FWSUpdates/bin/chkupd.bat @@ -93,10 +93,8 @@ REM Non admin on RDP shouldn't see updates notif IF %ADMIN% NEQ 1 IF NOT "%SESSIONNAME%" == "Console" goto :EOF REM Check if we can delay updates -REM Users can only delay for %MAX_REPORT% days while admins can always delay SET /A CAN_REPORT=0 IF %NOW% LEQ %MAX% SET /A CAN_REPORT=1 -IF %ADMIN% EQU 1 SET /A CAN_REPORT=1 IF %CHANGES% LSS 1 ( IF %ADMIN% EQU 1 (