[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-190-gc1f2067

X2go dev team git-admin at x2go.org
Fri Aug 19 18:57:12 CEST 2011


The branch, master has been updated
       via  c1f206778e3347ba565188c3ab7191fc86d3828e (commit)
      from  3180bf56e351ba89d33824fbf31be57c4f1f3e93 (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 c1f206778e3347ba565188c3ab7191fc86d3828e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Aug 19 18:58:32 2011 +0200

    Silence x2golistsessions on missing session.log files.

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

Summary of changes:
 debian/changelog                |    1 +
 x2goserver/bin/x2golistsessions |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index db55b6a..79b0b75 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ x2goserver (3.0.99.5-0~x2go3) UNRELEASED; urgency=low
   * Add LibreOffice.org as possible OFFICE application to x2goruncommand.
   * Fix for TERMINAL command execution if konsole (KDE4) is installed on the
     server (closes upstream issue #87)
+  * Silence x2golistsessions on missing session.log files.
 
   [Martin Oehler]
   * Removes old debug code fragment, fixes x2golistsessions parsing.
diff --git a/x2goserver/bin/x2golistsessions b/x2goserver/bin/x2golistsessions
index a47057c..a9ac4cf 100755
--- a/x2goserver/bin/x2golistsessions
+++ b/x2goserver/bin/x2golistsessions
@@ -31,7 +31,7 @@ sub check_stat
 {
 	my $sess=shift;
 	my $log="$ENV{'HOME'}/.x2go/C-$sess/session.log";
-	my $text=`tail -1 $log`;
+	my $text=`tail -1 $log 2>/dev/null`;
 	if ($text =~ m/Session suspended/)
 	{
 		return 0;


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