diff --git a/webif/lib/auto/scan b/webif/lib/auto/scan index 05fea36..3926ad6 100755 --- a/webif/lib/auto/scan +++ b/webif/lib/auto/scan @@ -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