[X2Go-Commits] [x2goserver] 04/04: be more precise with error message for unset X2GO_CLIENT env var

git-admin at x2go.org git-admin at x2go.org
Mon Nov 17 10:43:40 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch release/4.0.1.x
in repository x2goserver.

commit 9429bf24d6923c8932ffcb5debd43655a888931c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Nov 17 10:43:05 2014 +0100

    be more precise with error message for unset X2GO_CLIENT env var
---
 x2goserver/bin/x2gostartagent |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent
index 612ed71..b108652 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -73,7 +73,7 @@ elif [ -z "$X2GO_CLIENT" ] && [ -n "$SSH_CONNECTION" ]; then
 	X2GO_CLIENT=`echo $SSH_CONNECTION | awk '{print $1}'`
 fi
 if [ -z "$X2GO_CLIENT" ]; then
-	msg="The \$X2GO_CLIENT environment variable is not set (due to neither \$SSH_CLIENT nor \$SSH_CONNECTION variable being set). Aborting session startup."
+	msg="The \$X2GO_CLIENT environment variable is not set. Possible reasons: \$SSH_CLIENT not set or \$SSH_CONNECTION not set. Or \$X2GO_CLIENT not set by ,,X2Go Desktop Sharing'' applet. Aborting session startup."
 	echo "$msg"
 	$X2GO_LIB_PATH/x2gosyslog "$0" "error" "$msg"
 	exit -3

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list