forked from hummypkg/webif
Correct autolast in the future
Fixing issue in <https://hummy.tv/forum/threads/recursive-auto-shrink-auto-decrypt-no-longer-working.9399/post-134718>.
This commit is contained in:
parent
c428a367a1
commit
3623a26a08
@ -73,7 +73,10 @@ if {!$::auto::force} {
|
||||
|
||||
set timesincelast $(([clock seconds] - [$::auto::settings autolast]) \
|
||||
/ 60)
|
||||
if {$timesincelast < $autofreq} {
|
||||
if {$timesincelast < 0} {
|
||||
# time machine issue: correct it
|
||||
$::auto::settings autolast 0
|
||||
} elseif {$timesincelast < $autofreq} {
|
||||
::auto::log "Aborting, not yet time to run." 2
|
||||
::auto::log " elapsed (minutes): $timesincelast (<$autofreq)" 2
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user