GUACAMOLE-705: changed string comparison from bash to sh syntax

This commit is contained in:
Joern Lentes
2019-01-17 12:39:19 +01:00
parent 435df3c028
commit 8f63e9adfb

View File

@@ -374,7 +374,7 @@ make sure they are readable for the user in the container.
END END
exit 1; exit 1;
fi 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 cat <<END
FATAL: Authentication protocol "eap-ttls" specified but FATAL: Authentication protocol "eap-ttls" specified but
RADIUS_EAP_TTLS_INNER_PROTOCOL is not set! RADIUS_EAP_TTLS_INNER_PROTOCOL is not set!