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

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


The branch, build-baikal has been updated
       via  1b5f9cccc83514897cc1d3f0de1095836159086d (commit)
      from  78126d8a6233b275c93b3593ce4acd5dd4a728ac (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                |    1 +
 x2goserver/lib/x2godbwrapper.pm |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index f5dcd4b..0728202 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -65,6 +65,7 @@ x2goserver (3.0.99.5-0~x2go3) UNRELEASED; urgency=low
     X2go session.
   * Fix x2goumount-session for individual paths (folder type: disk),
     ToDo: folder type CDROM and removable media.
+  * Let db_insertmount create a proper return value (success vs. failed).
 
   [ Ivan Kabaivanov ]
   * Makefile fix around man page installation in x2goserver-compat package.
diff --git a/x2goserver/lib/x2godbwrapper.pm b/x2goserver/lib/x2godbwrapper.pm
index 10a1b1e..92e4549 100644
--- a/x2goserver/lib/x2godbwrapper.pm
+++ b/x2goserver/lib/x2godbwrapper.pm
@@ -248,7 +248,7 @@ sub db_insertmount
 	my $sid=shift or die "argument \"session_id\" missed";
 	my $path=shift or die "argument \"path\" missed";
 	my $client=shift or die "argument \"client\" missed";
-	my $res_ok=1;
+	my $res_ok=0;
 	if ($backend eq 'postgres')
 	{
 		my $dbh=DBI->connect("dbi:Pg:dbname=$db;host=$host;port=$port;sslmode=$sslmode", "$dbuser", "$dbpass",{AutoCommit => 1}) or die $_;	       


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