The branch, backport-lenny has been updated via 0f06cbd2d9ac63f2067fd733495f80e28cfdb9e4 (commit) from 1053d03e9f9b85f30f1fe3e92cc29205844386f5 (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 0f06cbd2d9ac63f2067fd733495f80e28cfdb9e4 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Jul 20 12:25:25 2012 +0200 fix for commit d70b136ab99623678f34c12f2175570a856eaa77 ----------------------------------------------------------------------- Summary of changes: x2goserver/bin/x2gosessionlimit | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) The diff of changes is: diff --git a/x2goserver/bin/x2gosessionlimit b/x2goserver/bin/x2gosessionlimit index 7167d5a..91f747b 100755 --- a/x2goserver/bin/x2gosessionlimit +++ b/x2goserver/bin/x2gosessionlimit @@ -33,7 +33,7 @@ setlogmask( LOG_UPTO(x2gologlevel()) ); syslog('info', "x2gosessionlimit has been called"); -my $maxlimit=0; +my $maxlimit=-1; my $Config = new Config::Simple(syntax=>'ini'); $Config->read('/etc/x2go/x2goserver.conf' ); @@ -69,11 +69,13 @@ if($strlimit ne "") if ($strlimit == 0) { print "0\n"; + closelog; exit 0; } if ($scount < $strlimit) { print "$strlimit\n"; + closelog; exit 0; } print "LIMIT\n"; @@ -99,12 +101,20 @@ while (my ($name, $passwd, $gid, $members) = getgrent()) } } + if ($scount < $maxlimit) { print "$maxlimit\n"; + closelog; + exit 0; +} + +if ($maxlimit != -1) { + print "LIMIT\n"; + closelog; exit 0; } -print "LIMIT\n"; # closing syslog closelog; + 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).