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

git-admin at x2go.org git-admin at x2go.org
Wed Jan 10 00:17:56 CET 2018


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

x2go pushed a commit to branch release/4.0.1.x
in repository x2goserver.

commit 9079d151c3fa32fc455362780614dd006c5be172
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.
---
 debian/changelog              | 1 +
 x2goserver/bin/x2gostartagent | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index abaa2da..9f52781 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,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 15e44ee..a092b9e 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