projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
030596d
)
Merge pull request #2427 from leonghui/fix_has_curlssl_typo
author
Dirk Brenken
<dev@brenken.org>
Sat, 5 Jan 2019 21:23:41 +0000
(22:23 +0100)
committer
GitHub
<noreply@github.com>
Sat, 5 Jan 2019 21:23:41 +0000
(22:23 +0100)
luci-app-ddns: fix typo for has_curlssl()
applications/luci-app-ddns/luasrc/tools/ddns.lua
patch
|
blob
|
history
diff --git
a/applications/luci-app-ddns/luasrc/tools/ddns.lua
b/applications/luci-app-ddns/luasrc/tools/ddns.lua
index 2b92e3e6362c2ce11efedc2e3e0af48f4329cadf..be7f3eeff4fb699730bfdc9f2efbae800d39c356 100755
(executable)
--- 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()