[X2Go-Commits] [x2gothinclient] 01/01: management/share/etc/x2gothinclient-minidesktop_start: correctly quote pactl command line arguments, avoids the shell interpreting the embedded semicolon as a command separator.

git-admin at x2go.org git-admin at x2go.org
Sat Oct 13 13:31:16 CEST 2018


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

x2go pushed a commit to branch master
in repository x2gothinclient.

commit 7047313dfc304dff45bc1afa7ab344861e5fcd8e
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Oct 13 13:30:48 2018 +0200

    management/share/etc/x2gothinclient-minidesktop_start: correctly quote pactl command line arguments, avoids the shell interpreting the embedded semicolon as a command separator.
---
 debian/changelog                                      | 3 +++
 management/share/etc/x2gothinclient-minidesktop_start | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f235a80..2c5450c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -131,6 +131,9 @@ x2gothinclient (1.5.0.0-0x2go1) UNRELEASED; urgency=low
       Depend on them lightly.
     - Replace iceweasel dependency with firefox-esr. All suites provide the
       newer name. Avoids an ugly outdated menu entry.
+  * management/share/etc/x2gothinclient-minidesktop_start:
+    - Correctly quote pactl command line arguments, avoids the shell
+      interpreting the embedded semicolon as a command separator.
   * debian/po:
     - Minor fixup on author name.
 
diff --git a/management/share/etc/x2gothinclient-minidesktop_start b/management/share/etc/x2gothinclient-minidesktop_start
index 7ee2e3a..4cf51ae 100755
--- a/management/share/etc/x2gothinclient-minidesktop_start
+++ b/management/share/etc/x2gothinclient-minidesktop_start
@@ -21,7 +21,7 @@
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 # make sure pulseaudio can be reached via TCP from the X2Go Server side...
-/usr/bin/pactl load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;::1
+/usr/bin/pactl 'load-module' 'module-native-protocol-tcp' 'auth-ip-acl=127.0.0.1;::1'
 
 /usr/lib/x2go/x2goclient --no-menu \
                          --maximize \

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git


More information about the x2go-commits mailing list