luci-app-ddns: remove first grep
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
This commit is contained in:
parent
199d4b1d5c
commit
1d93eb808b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue