You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2019/01/17 12:12:03 UTC

[guacamole-client] branch master updated: GUACAMOLE-705: changed string comparison from bash to sh syntax

This is an automated email from the ASF dual-hosted git repository.

vnick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/guacamole-client.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f63e9a  GUACAMOLE-705: changed string comparison from bash to sh syntax
     new 14ed63c  GUACAMOLE-705: Merge change string comparison from bash to sh syntax
8f63e9a is described below

commit 8f63e9adfb52b78c5ef7ef5cbcc805871aa3850d
Author: Joern Lentes <jo...@web.de>
AuthorDate: Thu Jan 17 12:39:19 2019 +0100

    GUACAMOLE-705: changed string comparison from bash to sh syntax
---
 guacamole-docker/bin/start.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guacamole-docker/bin/start.sh b/guacamole-docker/bin/start.sh
index ab0fdc8..33dc35a 100755
--- a/guacamole-docker/bin/start.sh
+++ b/guacamole-docker/bin/start.sh
@@ -374,7 +374,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!