[X2go-Commits] x2goserver.git - release/3.1.1.x (branch) updated: 3.1.1.4-2-g8da7d30

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


The branch, release/3.1.1.x has been updated
       via  8da7d3082b406641fa2d4f363b51300b1c639bfa (commit)
      from  97ae712cc1fbfab753c0a0a1634550e97cc9aac7 (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 8da7d3082b406641fa2d4f363b51300b1c639bfa
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 14e3268..a8465cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 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 aaed31d..8d52d85 100755
--- a/x2goserver/sbin/x2gocleansessions
+++ b/x2goserver/sbin/x2gocleansessions
@@ -90,6 +90,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