luci-app-ddns: fix next_update error
* Fix the error that next_update sometimes display Verify Signed-off-by: DeYu Liu <vito_sam@outlook.com>
This commit is contained in:
parent
cef330a1c8
commit
699b7f01bf
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ local methods = {
|
|||
next_update = epoch2date(epoch + force_seconds + check_seconds)
|
||||
end
|
||||
|
||||
if pid > 0 and ( last_update + force_seconds - uptime ) <= 0 then
|
||||
if pid > 0 and ( last_update + force_seconds + check_seconds - uptime ) <= 0 then
|
||||
next_update = "Verify"
|
||||
|
||||
-- run once
|
||||
|
|
Loading…
Reference in a new issue