From: leonghui Date: Sat, 5 Jan 2019 18:49:37 +0000 (+0000) Subject: luci-app-ddns: remove first grep X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=1d93eb808be1a2c42a3bd4224f670dfc1aa19eca;p=project%2Fluci.git luci-app-ddns: remove first grep Signed-off-by: Leong Hui Wong --- 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()