summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
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 0a60142e6f..36c6bdf269 100755
--- a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
+++ b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
@@ -187,7 +187,7 @@ local methods = {
local function has_wgetssl()
if cache['has_wgetssl'] then return cache['has_wgetssl'] end
- local res = (sys.call( [[command -v wget-ssl >/dev/null 2>&1]] ) == 0)
+ local res = has_wget() and (sys.call( [[wget --version | grep -qF +https >/dev/null 2>&1]] ) == 0)
cache['has_wgetssl'] = res
return res
end