summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc
diff options
context:
space:
mode:
authorleonghui <leonghui@users.noreply.github.com>2019-01-05 18:49:37 +0000
committerGitHub <noreply@github.com>2019-01-05 18:49:37 +0000
commit1d93eb808be1a2c42a3bd4224f670dfc1aa19eca (patch)
treeacf2a348f0375501df18e969305f72db714110bc /applications/luci-app-ddns/luasrc
parent199d4b1d5c45111919ac5c1844ee5e37d14273a1 (diff)
luci-app-ddns: remove first grep
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
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 07439acf2..fb8d0d207 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()