luci-app-ddns: remove first grep 2427/head
authorleonghui <leonghui@users.noreply.github.com>
Sat, 5 Jan 2019 18:49:37 +0000 (18:49 +0000)
committerGitHub <noreply@github.com>
Sat, 5 Jan 2019 18:49:37 +0000 (18:49 +0000)
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
applications/luci-app-ddns/luasrc/tools/ddns.lua

index 07439ac..fb8d0d2 100755 (executable)
@@ -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()