summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-07-13 19:57:15 +0200
committerGitHub <noreply@github.com>2021-07-13 19:57:15 +0200
commit98d1df8d24eb4c97fcf8ac78a9c04d342383b9c1 (patch)
tree0a299d14ba351692f3e6264004c8d813f9418dd6 /applications
parentf919635310286b3b905aedb716d707da1ea2c811 (diff)
parent699b7f01bf4e4450584795a1ecf954dbce7cdc89 (diff)
Merge pull request #5171 from small-5/tmp-1
luci-app-ddns: fix next_update error
Diffstat (limited to 'applications')
-rwxr-xr-xapplications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns2
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