From 1d93eb808be1a2c42a3bd4224f670dfc1aa19eca Mon Sep 17 00:00:00 2001 From: leonghui Date: Sat, 5 Jan 2019 18:49:37 +0000 Subject: [PATCH] luci-app-ddns: remove first grep Signed-off-by: Leong Hui Wong --- applications/luci-app-ddns/luasrc/tools/ddns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-ddns/luasrc/tools/ddns.lua b/applications/luci-app-ddns/luasrc/tools/ddns.lua index 07439acf29..fb8d0d207e 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() -- 2.30.2