[X2go-Commits] x2goserver.git - master (branch) updated: 3.1.1.3-62-ge010395

X2Go dev team git-admin at x2go.org
Wed Sep 26 08:57:28 CEST 2012


The branch, master has been updated
       via  e010395a46a9cd11293956919d606a8841ed7fd6 (commit)
      from  5a6639b5618a1c5a2f36d2a946bb26b2ca72c1be (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e010395a46a9cd11293956919d606a8841ed7fd6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Sep 26 08:53:48 2012 +0200

    Add a very basic SIGCHLD handler to x2gocleansessions. on SIGCHLD let the script wait for cleaning up after its children.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                  |    5 ++++-
 x2goserver/sbin/x2gocleansessions |    1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 4e33f13..ddae529 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,7 +32,10 @@ x2goserver (3.2.0.0-0~x2go1) UNRELEASED; urgency=low
 
 x2goserver (3.1.1.5-0~x2go1) UNRELEASED; urgency=low
 
-  * Continue development...
+  [ Stéphane Graber ]
+  * New upstream version (3.1.1.5):
+    - Add a very basic SIGCHLD handler to x2gocleansessions. on SIGCHLD
+      let the script wait for cleaning up after its children.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 25 Sep 2012 15:03:32 +0200
 
diff --git a/x2goserver/sbin/x2gocleansessions b/x2goserver/sbin/x2gocleansessions
index 1019314..3eb8722 100755
--- a/x2goserver/sbin/x2gocleansessions
+++ b/x2goserver/sbin/x2gocleansessions
@@ -88,6 +88,7 @@ elsif ($pid == 0 )
 	for (glob "/proc/$$/fd/*") { POSIX::close($1) if m{/(\d+)$}; }
 
 	$SIG{TERM}=\&catch_term;
+	$SIG{CHLD} = sub { wait };
 
 	while(sleep 5)
 	{


hooks/post-receive
-- 
x2goserver.git (X2Go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).




More information about the x2go-commits mailing list