From 5553a66903a1889b52aeb2d36e3d9de455e45c2e Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Thu, 18 May 2023 23:29:51 +0000 Subject: luci-app-https-dns-proxy: fix curl-related error in logs * if curl is not installed, there used to be an error in logs from uhttpd that curl is not found, this commit addresses it Signed-off-by: Stan Grishin --- .../luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-https-dns-proxy/luasrc') diff --git a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua index 8396f46698..8fa613a3d5 100644 --- a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua +++ b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua @@ -103,7 +103,7 @@ else end end -if sys.call("curl --version | grep -q HTTP2") == 0 then +if sys.call("grep -q 'Provides: libnghttp2' /usr/lib/opkg/status") == 0 then http2Supported = true end -- cgit v1.2.3