diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-01-22 09:13:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 09:13:35 +0100 |
commit | bda65a2690017b4375a160e146f728c689901efc (patch) | |
tree | 7d4c80a23af0804d1d9b70423d28f95076359f77 /applications/luci-app-ddns/root/usr | |
parent | c434b50c7c61ccb53685dd8d6adad45ffe82eb60 (diff) | |
parent | 4d5facb315e4373ac65a8a0992cdea2f88182ded (diff) |
Merge pull request #4740 from zhanhb/luci-app-ddns
luci-app-ddns: fix wget-ssl path
Diffstat (limited to 'applications/luci-app-ddns/root/usr')
-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 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 |