[X2Go-Commits] [x2goserver] 02/02: x2goserver/sbin/x2godbadmin: fix up other try blocks; whitespace only.

git-admin at x2go.org git-admin at x2go.org
Fri Feb 23 23:55:57 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/mysql-backend
in repository x2goserver.

commit 40787aa939cbb72d26b261574a36071eef71e3b4
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Feb 23 23:52:11 2018 +0100

    x2goserver/sbin/x2godbadmin: fix up other try blocks; whitespace only.
---
 debian/changelog            | 1 +
 x2goserver/sbin/x2godbadmin | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fd4d989..0c99f9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -80,6 +80,7 @@ x2goserver (4.1.0.1-0x2go1) UNRELEASED; urgency=medium
       call them generically with correct parameters from specialized
       namespace.
     - x2goserver/sbin/x2godbadmin: remove potentially confusing whitespace.
+    - x2goserver/sbin/x2godbadmin: fix up other try blocks; whitespace only.
   * debian/{control,compat}:
     + Bump DH compat level to 9.
   * debian/:
diff --git a/x2goserver/sbin/x2godbadmin b/x2goserver/sbin/x2godbadmin
index 2ce95ce..4332738 100755
--- a/x2goserver/sbin/x2godbadmin
+++ b/x2goserver/sbin/x2godbadmin
@@ -281,7 +281,8 @@ if ($Config->param("backend") eq 'postgres')
 				my $sth_tekictrl;
 				my $sth_tekidata;
 				my $sth_update;
-				try {
+				try
+				{
 					$sth_tekictrl = $dbh->prepare("select tekictrl_port from sessions");
 					$sth_tekictrl->execute();
 				}
@@ -296,7 +297,8 @@ if ($Config->param("backend") eq 'postgres')
 					$sth_tekictrl->finish();
 					$update_views_n_rules = 1;
 				};
-				try {
+				try
+				{
 					$sth_tekidata = $dbh->prepare("select tekidata_port from sessions");
 					$sth_tekidata->execute();
 				}

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list