diff options
| author | DeYu Liu | 2021-07-06 05:37:53 +0000 |
|---|---|---|
| committer | DeYu Liu | 2021-07-06 05:49:36 +0000 |
| commit | 699b7f01bf4e4450584795a1ecf954dbce7cdc89 (patch) | |
| tree | c53e54c8c9e7a946e324bc4483967ed40681d7ea | |
| parent | cef330a1c8b59b0b84bb862b8d04b56892be3803 (diff) | |
| download | luci-699b7f01bf4e4450584795a1ecf954dbce7cdc89.tar.gz | |
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>
| -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 |