The branch, master has been updated via d70b136ab99623678f34c12f2175570a856eaa77 (commit) from 15f93bffe63a7d9eea3a7cb1fe12d531e92c113f (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 d70b136ab99623678f34c12f2175570a856eaa77 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Jul 13 17:06:04 2012 +0200 Fix x2gosessionlimit script. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 3 ++- x2goserver/bin/x2gosessionlimit | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 5b282e8..a1fad39 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ x2goserver (3.1.1.4-0~x2go1) UNRELEASED; urgency=low - * Continue development... + * New upstream version (3.1.1.3): + - Fix x2gosessionlimit script. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Tue, 03 Jul 2012 10:03:28 +0200 diff --git a/x2goserver/bin/x2gosessionlimit b/x2goserver/bin/x2gosessionlimit index 0287fc4..7167d5a 100755 --- a/x2goserver/bin/x2gosessionlimit +++ b/x2goserver/bin/x2gosessionlimit @@ -71,12 +71,12 @@ if($strlimit ne "") print "0\n"; exit 0; } - if ($strlimit <= $scount) + if ($scount < $strlimit) { print "$strlimit\n"; exit 0; } - print "$strlimit\n"; + print "LIMIT\n"; exit 0; } @@ -99,12 +99,12 @@ while (my ($name, $passwd, $gid, $members) = getgrent()) } } -if ($maxlimit <= $scount) +if ($scount < $maxlimit) { print "$maxlimit\n"; exit 0; } -print "$maxlimit\n"; +print "LIMIT\n"; # closing syslog -closelog; \ No newline at end of file +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).