luci-app-ddns: remove first grep

Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
This commit is contained in:
leonghui 2019-01-05 18:49:37 +00:00 committed by GitHub
parent 199d4b1d5c
commit 1d93eb808b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ function env_info(type)
end end
local function has_curlssl() 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 end
local function has_fetch() local function has_fetch()