summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2019-01-05 22:23:41 +0100
committerGitHub <noreply@github.com>2019-01-05 22:23:41 +0100
commitc22e5232f43dfb324c0857fa1aacc6ad4a5bb161 (patch)
treeaf97574ccfd3905b5df25be43b4cf1e0d6158b63 /applications/luci-app-ddns/luasrc
parent030596d808bb579b29e94c0f9e15f3f432b95197 (diff)
parent1d93eb808be1a2c42a3bd4224f670dfc1aa19eca (diff)
Merge pull request #2427 from leonghui/fix_has_curlssl_typo
luci-app-ddns: fix typo for has_curlssl()
Diffstat (limited to 'applications/luci-app-ddns/luasrc')
-rwxr-xr-xapplications/luci-app-ddns/luasrc/tools/ddns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ddns/luasrc/tools/ddns.lua b/applications/luci-app-ddns/luasrc/tools/ddns.lua
index 2b92e3e63..be7f3eeff 100755
--- a/applications/luci-app-ddns/luasrc/tools/ddns.lua
+++ b/applications/luci-app-ddns/luasrc/tools/ddns.lua
@@ -21,7 +21,7 @@ function env_info(type)
end
local function has_curlssl()
- return (SYS.call( [[$(which curl) -V 2>&1 | grep "Protocols:" | grep -qF "https"]] ) ~= 0)
+ return (SYS.call( [[$(which curl) -V 2>&1 | grep -qF "https"]] ) == 0)
end
local function has_fetch()