[X2Go-Commits] [x2goserver] 16/33: 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:19:24 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 930f6ddbf39b35244137bafae480e1216f8ab9da
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.
    
    Cherry-picked from release/4.0.1.x branch.
---
 debian/changelog              | 2 ++
 x2goserver/bin/x2gostartagent | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fe39b73..bbd98e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -304,6 +304,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 b8bea57..bf9bf41 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -178,7 +178,7 @@ if [ "${X2GO_STYPE}" == "S" ]; then
 		awk '{print $5}' <<< "${OUTPUT}"
 		awk '{print $6}' <<< "${OUTPUT}"
 		awk '{print $7}' <<< "${OUTPUT}"
-		exit "9"
+		exit "0"
 	fi
 else
 	X2GO_CLIPBOARD="$1"; shift

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