[X2Go-Commits] [x2gothinclient] 02/02: displaymanager/sbin/x2gothinclientd: correctly break long strings over several lines and concatenate them.

git-admin at x2go.org git-admin at x2go.org
Tue Feb 21 09:39:17 CET 2017


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

x2go pushed a commit to branch master
in repository x2gothinclient.

commit 855fcf8ddf33efe479c7c7d7aaaf30bf9e11b3be
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Feb 21 09:38:39 2017 +0100

    displaymanager/sbin/x2gothinclientd: correctly break long strings over several lines and concatenate them.
---
 debian/changelog                    |    2 ++
 displaymanager/sbin/x2gothinclientd |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b594906..5a4bded 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -99,6 +99,8 @@ x2gothinclient (1.5.0.0-0x2go1) UNRELEASED; urgency=low
       "gdm" string in log message. Fixes: #997.
     - management/share/etc/x2gothinclient-minidesktop_start: correctly
       continue commented out command on the next line. Fixes: #1147.
+    - displaymanager/sbin/x2gothinclientd: correctly break long strings over
+      several lines and concatenate them.
   * usbmount/x2gousbmount: fix typo int -> print. Fixes: #840.
   * debian/control:
     - Whitespace only.
diff --git a/displaymanager/sbin/x2gothinclientd b/displaymanager/sbin/x2gothinclientd
index af30d1e..3c48188 100755
--- a/displaymanager/sbin/x2gothinclientd
+++ b/displaymanager/sbin/x2gothinclientd
@@ -181,9 +181,9 @@ elsif ($pid == 0 )
 		# test if pulseaudio is running, if not launch it...
 		if ( !check_pulse() )
 		{
-			system("su - x2gothinclient -c \"DISPLAY=:0 pulseaudio -D \\
-			-L 'module-native-protocol-tcp port=4713' \\
-			--exit-idle-time=65535\"");
+			system("su - x2gothinclient -c \"DISPLAY=:0 pulseaudio -D " .
+			       "-L 'module-native-protocol-tcp port=4713' " .
+			       "--exit-idle-time=65535\"");
 		}
 
 		# test if x2goclient is running, if not launch it...

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


More information about the x2go-commits mailing list