[X2Go-Commits] x2gobroker.git - tmp (branch) updated: 71137406a700aa09ead9520e41c4a59ab3807405

X2Go dev team git-admin at x2go.org
Tue Apr 23 21:08:29 CEST 2013


The branch, tmp has been updated
       via  71137406a700aa09ead9520e41c4a59ab3807405 (commit)
      from  9cf0113b91ec37a118c8a5b1aa84d4bc285cc9d5 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 lib/x2gobroker-agent.pl |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/lib/x2gobroker-agent.pl b/lib/x2gobroker-agent.pl
index aff2258..0e451c1 100755
--- a/lib/x2gobroker-agent.pl
+++ b/lib/x2gobroker-agent.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -wU
+#!/usr/bin/perl -wtU
 
 # This file is part of the  X2Go Project - http://www.x2go.org
 # Copyright (C) 2011-2012 by Oleksandr Shneyder <oleksandr.shneyder at obviously-nice.de>
@@ -26,7 +26,7 @@ sub InitX2GoUser
 {
 	my ($user, $uid, $gid, $home)=@_;
 
-	if ( -f /etc/x2go/x2gosql/sql )
+	if ( -f "/etc/x2go/x2gosql/sql" )
 	{
 		# if we use the PostgreSQL session db backend we may have to add the
 		# user to the session database...
@@ -34,7 +34,7 @@ sub InitX2GoUser
 		my @buf = <F>;
 		close(F);
 		if ( grep (/^backend=sqlite.*/, @buf) ) {
-			#if (( ! -e "$home/.x2go/sqlpass" )
+			#if ( ! -e "$home/.x2go/sqlpass" )
 			###
 			### FIXME: make the below code robust if homes are on NFS
 			###


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

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 "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list