Merge pull request 'df-autolast-future-patch' (#13) from df/webif:df-autolast-future-patch into master
Reviewed-on: #13
This commit is contained in:
commit
006a04683a
@ -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