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 07439acf2900e26ed0fac9201ea017f648696409..fb8d0d207e833ff7468f78368149ffd49cc7175a 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()