[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 3.0.99-2-12-g2042ae2

X2Go dev team git-admin at x2go.org
Fri Jan 3 20:52:08 CET 2014


The branch, build-baikal has been updated
       via  2042ae237c3f6ad906104eaee208fc98d75afd03 (commit)
      from  f1c4f7f08cf0669a70bbce3b45cd58cdbe87944c (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:
 debian/changelog  |    6 ++++++
 x2gosqlitewrapper |    7 ++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 0ecac54..bf3f606 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+x2goserver (3.0.99-3) unstable; urgency=low
+
+  * fixed wrong path to dbfile, thanks Moritz Struebe <Moritz.Struebe at informatik.uni-erlangen.de>
+
+ -- Oleksandr Shneyder <oleksandr.shneyder at obviously-nice.de>  Mon, 31 Jan 2011 18:38:13 +0100
+
 x2goserver (3.0.99-2) unstable; urgency=low
 
   * menu=0 option in x2gostartagent, to avoid crash in single app mode
diff --git a/x2gosqlitewrapper b/x2gosqlitewrapper
index 744c780..6747caa 100755
--- a/x2gosqlitewrapper
+++ b/x2gosqlitewrapper
@@ -7,12 +7,13 @@ use POSIX;
 
 if ($< eq $>)
 {
-    die "Please install this program as SUID x2gouser!\n";
+	die "Please install this program as SUID x2gouser!\n";
 }
 
 my $realuser=$<;
-my ($uname, $pass, $uid, $pgid, $quota, $comment, $gcos, $homedir, $shell, $expire) = getpwuid(getuid());
-my $dbfile="/var/lib/x2go/x2go_sessions";
+my ($uname, $pass, $uid, $pgid, $quota, $comment, $gcos, $homedir, $shell, $expire) = getpwuid($>);
+my $dbfile="$homedir/x2go_sessions";
+
 my $dbh=DBI->connect("dbi:SQLite:dbname=$dbfile","","",{AutoCommit => 1}) or die $_;
 
 my $cmd=shift or die "command not specified";


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