df-autolast-future-patch #13

Merged
af123 merged 1 commits from df/webif:df-autolast-future-patch into master 2020-10-16 13:25:44 +00:00
1 changed files with 4 additions and 1 deletions

View File

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