projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-app-ddns: remove first grep
[project/luci.git]
/
applications
/
luci-app-ddns
/
luasrc
/
tools
/
ddns.lua
diff --git
a/applications/luci-app-ddns/luasrc/tools/ddns.lua
b/applications/luci-app-ddns/luasrc/tools/ddns.lua
index 6f0c7f0952e596f6cce8fb38a8a43c6190aa481b..fb8d0d207e833ff7468f78368149ffd49cc7175a 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()