luci-app-ddns: fix typo for has_curlssl()
authorleonghui <leonghui@users.noreply.github.com>
Sat, 5 Jan 2019 10:38:25 +0000 (10:38 +0000)
committerGitHub <noreply@github.com>
Sat, 5 Jan 2019 10:38:25 +0000 (10:38 +0000)
commit199d4b1d5c45111919ac5c1844ee5e37d14273a1
tree9e64d911dc04c0e35e43ba10f3a43f6bb9f871ea
parent66c2bbc2790813a7889c0dd329131e5012fc83dd
luci-app-ddns: fix typo for has_curlssl()

Fixes the incorrect message "HTTPS not supported please disable !" when curl with https support is present.
grep returns exit code 0 when a match is found.

Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
applications/luci-app-ddns/luasrc/tools/ddns.lua