[X2Go-Commits] [x2goserver] 13/27: x2goserver/bin/x2gostartagent: fix return code that should have been zero, indicating success.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 10 00:17:57 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 f97cd4b09995eed16a3c84a0b46c323c7554a579
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Jan 4 05:51:18 2018 +0100

    x2goserver/bin/x2gostartagent: fix return code that should have been zero, indicating success.
---
 debian/changelog              | 2 ++
 x2goserver/bin/x2gostartagent | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f315edc..62e83b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,8 @@ x2goserver (4.0.1.23-0x2go1) UNRELEASED; urgency=medium
       on the lib path line.
     - x2goserver/bin/x2gostartagent: start using x2gogetrandomport, delete
       now-duplicate code. Also adjust return values accordingly.
+    - x2goserver/bin/x2gostartagent: fix return code that should have been
+      zero, indicating success.
   * 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 1dd5e65..033ad68 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -175,7 +175,7 @@ if [ "${X2GO_STYPE}" == "S" ]; then
 		awk '{print $5}' <<< "${OUTPUT}"
 		awk '{print $6}' <<< "${OUTPUT}"
 		awk '{print $7}' <<< "${OUTPUT}"
-		exit "9"
+		exit "0"
 	else
 		X2GO_CLIPBOARD="${1}"; shift
 	fi

--
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