[X2Go-Commits] [x2goserver] 01/01: x2goagent wrapper script: Use exec command to launch nxagent. Put "$@" in quotes.

git-admin at x2go.org git-admin at x2go.org
Tue Jul 5 08:51:24 CEST 2016


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

x2go pushed a commit to branch master
in repository x2goserver.

commit bfd4a12f10654cd20a0b3d496faa72b2a781efba
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jul 5 08:51:14 2016 +0200

    x2goagent wrapper script: Use exec command to launch nxagent. Put "$@" in quotes.
---
 debian/changelog                   |    2 ++
 x2goserver-x2goagent/bin/x2goagent |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 78174a4..43a600b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -77,6 +77,8 @@ x2goserver (4.1.0.0-0x2go1.2) UNRELEASED; urgency=low
     - Revisit packaging for latest change in x2goserver-x2goagent. Don't inject
       $(LIBDIR) rather than injecting $(NXLIBDIR) via debian/rules and
       x2goserver.spec.
+    - x2goagent wrapper script: Use exec command to launch nxagent. Put "$@" in
+      quotes.
   * debian/control:
     + Package X2Go::Log in separate package: libx2go-log-perl.
     + Package X2Go::Server::DB in separate package: libx2go-server-db-perl.
diff --git a/x2goserver-x2goagent/bin/x2goagent b/x2goserver-x2goagent/bin/x2goagent
index 558900d..38b66b3 100755
--- a/x2goserver-x2goagent/bin/x2goagent
+++ b/x2goserver-x2goagent/bin/x2goagent
@@ -16,4 +16,4 @@
 # along with this program.  If not, see http://www.gnu.org/licenses/.
 
 export NXAPP=x2goagent
-nxagent $@
+exec nxagent "$@"

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


More information about the x2go-commits mailing list