[X2Go-Commits] [live-build-x2go] 114/167: fixed missing escapes

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 00:32:53 CET 2017


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

x2go pushed a commit to branch feature/openbox-magic-pixel-workaround
in repository live-build-x2go.

commit 72f4a63f3e731583574b67d1ed161b11cefd5a45
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Sep 16 18:27:23 2017 +0200

    fixed missing escapes
---
 config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index 01e20d1..584cf11 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -112,7 +112,7 @@ if grep -q ' branding=' /proc/cmdline; then
 	        echo "'$0' is waiting for a valid '/etc/x2go/branding.svg' file."
 		sleep 2
 	done
-	[ -n "$OLDCON" ] && chvt $OLDCON
+	[ -n "\$OLDCON" ] && chvt \$OLDCON
 	\$BRANDING='--branding=/etc/x2go/branding.svg'
 fi
 BACKGROUND=''
@@ -123,7 +123,7 @@ if grep -q ' bg=' /proc/cmdline; then
 	        echo "'$0' is waiting for a valid '/etc/x2go/bg.svg' file."
 		sleep 2
 	done
-	[ -n "$OLDCON" ] && chvt $OLDCON
+	[ -n "\$OLDCON" ] && chvt \$OLDCON
 	\$BACKGROUND='--background=/etc/x2go/bg.svg'
 fi
 
@@ -138,7 +138,7 @@ else
 	        echo "'$0' is waiting for a valid '/etc/x2go/x2gothinclient_sessions' file."
 		sleep 2
 	done
-	[ -n "$OLDCON" ] && chvt $OLDCON
+	[ -n "\$OLDCON" ] && chvt \$OLDCON
 fi
 if [ -n "\$LDAP" ] ; then
 	if [ -n "\$LDAP1" ] ; then

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


More information about the x2go-commits mailing list