[X2Go-Commits] x2goserver.git - master (branch) updated: 3.1.1.3-168-gfa9ee04

X2Go dev team git-admin at x2go.org
Thu Jun 6 01:52:49 CEST 2013


The branch, master has been updated
       via  fa9ee0403caa9d5272a5777e45c9caba015db509 (commit)
      from  6634b0e94f86673b9ecbd2281597e5335fd91b91 (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 fa9ee0403caa9d5272a5777e45c9caba015db509
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Jun 6 01:52:32 2013 +0200

    only remove old sessions from the DB if the agent process is gone (not while it is still there)

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

Summary of changes:
 x2goserver/lib/x2golistsessions_sql |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2goserver/lib/x2golistsessions_sql b/x2goserver/lib/x2golistsessions_sql
index 1d29bad..e1aa39a 100755
--- a/x2goserver/lib/x2golistsessions_sql
+++ b/x2goserver/lib/x2golistsessions_sql
@@ -58,7 +58,7 @@ my $i;
 for ( $i=0;$i<@array;$i++) 
 {
 	my @ln=split('\|', at array[$i]);
-	if ((@ln[4] eq "F") && (check_pid(@ln[0], @ln[1]))
+	if ((@ln[4] eq "F") && (!check_pid(@ln[0], @ln[1]))
 	{
 		my $sid = @ln[1];
 		dbsys_rmsessionsroot($sid);


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