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

x2go pushed a commit to branch master
in repository x2goserver.

commit 3b792a7a028bb51a0b646563da883e1e00cec29e
Author: Mihai Moldovan <io...@ionic.de>
Date:   Sat Aug 13 23:46:53 2016 +0200

    x2goserver-xsession/etc/Xsession: fix wrong variable usage. Fixes: #1073.
    
    Cherry-picked from release/4.0.1.x branch.
---
 debian/changelog                 |    2 ++
 x2goserver-xsession/etc/Xsession |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f424215..c33fe81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -323,6 +323,8 @@ x2goserver (4.0.1.20-0x2go1) UNRELEASED; urgency=low
       xsession-x2go-errors file name. Part of #923.
     - x2goserver-xsession/etc/Xsession: rotate old log/error file before
       appending new data. Fixes: #923.
+    - x2goserver-xsession/etc/Xsession: fix wrong variable usage.
+      Fixes: #1073.
   * x2goserver.spec:
     - Add sudo and logcheck as BuildRequires and Requires. Don't own
       directories that are owned by sudo and logcheck. Logcheck is not
diff --git a/x2goserver-xsession/etc/Xsession b/x2goserver-xsession/etc/Xsession
index 2bf3e33..52a61bf 100755
--- a/x2goserver-xsession/etc/Xsession
+++ b/x2goserver-xsession/etc/Xsession
@@ -60,7 +60,7 @@ for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" 
"$HOME/.xprofile"; d
 done
 
 cur_hostname="$(hostname)"
-if [ -z "${cur_name}" ] || [ "${cur_hostname}" = "(none)" ] || [ 
"${cur_hostname}" = "localhost" ]; then
+if [ -z "${cur_hostname}" ] || [ "${cur_hostname}" = "(none)" ] || [ 
"${cur_hostname}" = "localhost" ]; then
        errormsg "Hostname not set correctly; aborting."
 fi
 

--
Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email 
on /srv/git/code.x2go.org/x2goserver.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits

Reply via email to