6in4: add missing colon when setting default ca_path
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
ee1cd31d2b
commit
83d3e393bf
@ -84,7 +84,7 @@ proto_6in4_setup() {
|
|||||||
local http="http"
|
local http="http"
|
||||||
local urlget="uclient-fetch"
|
local urlget="uclient-fetch"
|
||||||
local urlget_opts="-qO-"
|
local urlget_opts="-qO-"
|
||||||
local ca_path="${SSL_CERT_DIR-/etc/ssl/certs}"
|
local ca_path="${SSL_CERT_DIR:-/etc/ssl/certs}"
|
||||||
|
|
||||||
[ -f /lib/libustream-ssl.so ] && http=https
|
[ -f /lib/libustream-ssl.so ] && http=https
|
||||||
[ "$http" = "https" -a -z "$(find $ca_path -name "*.0" 2>/dev/null)" ] && {
|
[ "$http" = "https" -a -z "$(find $ca_path -name "*.0" 2>/dev/null)" ] && {
|
||||||
|
Loading…
Reference in New Issue
Block a user