Merge pull request #5171 from small-5/tmp-1

luci-app-ddns: fix next_update error
This commit is contained in:
Jo-Philipp Wich 2021-07-13 19:57:15 +02:00 committed by GitHub
commit 98d1df8d24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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