6in4: add missing colon when setting default ca_path

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2017-01-23 13:39:52 +01:00
parent fb07085218
commit 1590b0fab0

View file

@ -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)" ] && {