Don't allow delay if changes are available since a long time

Even for admins
master
Daniel Berteaud 9 years ago
parent cedf999dfe
commit ded0f3091e
  1. 2
      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 (

Loading…
Cancel
Save