[X2Go-Commits] [x2goserver] 04/33: x2goserver/bin/x2gostartagent: fix shellcheck warning related to arrays.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 10 00:19:23 CET 2018


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

x2go pushed a commit to branch master
in repository x2goserver.

commit 8282d9f34e3de17ec2e9809c8746a24e54292e41
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Jan 1 20:08:21 2018 +0100

    x2goserver/bin/x2gostartagent: fix shellcheck warning related to arrays.
    
    Cherry-picked from release/4.0.1.x branch.
---
 debian/changelog              | 1 +
 x2goserver/bin/x2gostartagent | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9d6da9a..1f30be4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -272,6 +272,7 @@ x2goserver (4.0.1.23-0x2go1) UNRELEASED; urgency=medium
       configuration value. Currently only a value of "host-based" is directly
       mapped to the host-based algorithm, while any other value (or a failure
       of failure) are mapped to the "pure-random" code path.
+    - x2goserver/bin/x2gostartagent: fix shellcheck warning related to arrays.
   * x2goserver.spec:
     - RPMify x2goserver-xsession description.
     - Remove qt4 stuff, we're not using the framework here.
diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent
index d5ec931..33175c6 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -65,7 +65,7 @@ get_random_port() {
 
 X2GO_LIB_PATH="$(x2gopath libexec)";
 
-$X2GO_LIB_PATH/x2gosyslog "$0" "info" "$(basename $0) called with options: $@"
+$X2GO_LIB_PATH/x2gosyslog "$0" "info" "$(basename $0) called with options: ${*}"
 
 
 # Refer to x2goserver.conf.

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


More information about the x2go-commits mailing list