projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199d4b1
)
luci-app-ddns: remove first grep
author
leonghui
<
[email protected]
>
Sat, 5 Jan 2019 18:49:37 +0000
(18:49 +0000)
committer
GitHub
<
[email protected]
>
Sat, 5 Jan 2019 18:49:37 +0000
(18:49 +0000)
Signed-off-by: Leong Hui Wong <
[email protected]
>
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 07439acf2900e26ed0fac9201ea017f648696409..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()