diff options
author | DeYu Liu <vito_sam@outlook.com> | 2021-07-06 13:37:53 +0800 |
---|---|---|
committer | DeYu Liu <vito_sam@outlook.com> | 2021-07-06 13:49:36 +0800 |
commit | 699b7f01bf4e4450584795a1ecf954dbce7cdc89 (patch) | |
tree | c53e54c8c9e7a946e324bc4483967ed40681d7ea /applications/luci-app-ddns/root | |
parent | cef330a1c8b59b0b84bb862b8d04b56892be3803 (diff) |
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>
Diffstat (limited to 'applications/luci-app-ddns/root')
-rwxr-xr-x | applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns index 22abcf4251..653e63c16a 100755 --- a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns +++ b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns @@ -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 |