The branch, master 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 ----------------------------------------------------------------- commit 1b5f9cccc83514897cc1d3f0de1095836159086d Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun Sep 18 19:37:15 2011 +0200 Let db_insertmount create a proper return value (success vs. failed). ----------------------------------------------------------------------- Summary of changes: debian/changelog | 1 + x2goserver/lib/x2godbwrapper.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) 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).