diff options
author | Dirk Brenken <dev@brenken.org> | 2019-01-05 22:23:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 22:23:41 +0100 |
commit | c22e5232f43dfb324c0857fa1aacc6ad4a5bb161 (patch) | |
tree | af97574ccfd3905b5df25be43b4cf1e0d6158b63 /applications | |
parent | 030596d808bb579b29e94c0f9e15f3f432b95197 (diff) | |
parent | 1d93eb808be1a2c42a3bd4224f670dfc1aa19eca (diff) |
Merge pull request #2427 from leonghui/fix_has_curlssl_typo
luci-app-ddns: fix typo for has_curlssl()
Diffstat (limited to 'applications')
-rwxr-xr-x | applications/luci-app-ddns/luasrc/tools/ddns.lua | 2 |
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 2b92e3e636..be7f3eeff4 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() |