JSS-Scripts icon indicating copy to clipboard operation
JSS-Scripts copied to clipboard

OSUpdateNotifier: ForceUpdateStartTimeInEpoch value set syntax

Open phu-ngo opened this issue 3 years ago • 0 comments

code in line 970 need correct syntax current:

# Determine the current start time in epoch seconds for forced update via GUI
ForceUpdateStartTimeInEpoch="$(/bin/date -jf "%a %b %d %T %Z %Y" "$(/bin/date)" +"%s")

Fix:

# Determine the current start time in epoch seconds for forced update via GUI
ForceUpdateStartTimeInEpoch="$(/bin/date +"%s")
```"

phu-ngo avatar Jan 10 '22 04:01 phu-ngo