diff options
author | Stan Grishin <stangri@melmac.ca> | 2023-05-18 23:29:51 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.ca> | 2023-05-18 23:30:00 +0000 |
commit | 5553a66903a1889b52aeb2d36e3d9de455e45c2e (patch) | |
tree | 4ae754708a37f22b07e5d4859568aae8a684abf6 /applications/luci-app-https-dns-proxy/luasrc | |
parent | 6e1096da6831b40f11f4f448ba34f0bf94239797 (diff) |
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 <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/luasrc')
-rw-r--r-- | applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |