diff options
author | leonghui <leonghui@users.noreply.github.com> | 2019-01-05 18:49:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 18:49:37 +0000 |
commit | 1d93eb808be1a2c42a3bd4224f670dfc1aa19eca (patch) | |
tree | acf2a348f0375501df18e969305f72db714110bc /applications | |
parent | 199d4b1d5c45111919ac5c1844ee5e37d14273a1 (diff) |
luci-app-ddns: remove first grep
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
Diffstat (limited to 'applications')
-rwxr-xr-x | applications/luci-app-ddns/luasrc/tools/ddns.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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() |