GUACAMOLE-682: fix env variable passing

This commit is contained in:
Joern Lentes
2018-12-21 14:50:46 +01:00
parent 0f31028565
commit 95611f2d93
3 changed files with 6 additions and 3 deletions

View File

@@ -370,7 +370,7 @@ make sure they are readable for the user in the container.
END
exit 1;
fi
if [ $RADIUS_AUTH_PROTOCOL == "eap-ttls" -a -z "$RADIUS_EAP_TTLS_INNER_PROTOCOL" ]; then
if [ "$RADIUS_AUTH_PROTOCOL" == "eap-ttls" -a -z "$RADIUS_EAP_TTLS_INNER_PROTOCOL" ]; then
cat <<END
FATAL: Authentication protocol "eap-ttls" specified but
RADIUS_EAP_TTLS_INNER_PROTOCOL is not set!