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 29f722b7e235edf1bb11786d459bb9f473a4c9fd
Author: Mihai Moldovan <io...@ionic.de>
Date:   Fri Feb 23 23:50:32 2018 +0100

    x2goserver/sbin/x2godbadmin: remove potentially confusing whitespace.
---
 debian/changelog            | 1 +
 x2goserver/sbin/x2godbadmin | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b6925f4..fd4d989 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -79,6 +79,7 @@ x2goserver (4.1.0.1-0x2go1) UNRELEASED; urgency=medium
     - x2goserver/sbin/x2godbadmin: split out subroutines into main namespace,
       call them generically with correct parameters from specialized
       namespace.
+    - x2goserver/sbin/x2godbadmin: remove potentially confusing whitespace.
   * debian/{control,compat}:
     + Bump DH compat level to 9.
   * debian/:
diff --git a/x2goserver/sbin/x2godbadmin b/x2goserver/sbin/x2godbadmin
index 34209a9..2ce95ce 100755
--- a/x2goserver/sbin/x2godbadmin
+++ b/x2goserver/sbin/x2godbadmin
@@ -258,7 +258,7 @@ if ($Config->param("backend") eq 'postgres')
                $dbadmin='postgres';
        }
 
-       open (FL,"< /etc/x2go/x2gosql/passwords/pgadmin ") or die "Can't read 
password file /etc/x2go/x2gosql/passwords/pgadmin";
+       open (FL,"< /etc/x2go/x2gosql/passwords/pgadmin") or die "Can't read 
password file /etc/x2go/x2gosql/passwords/pgadmin";
        my $dbadminpass=<FL>;
        close(FL);
        chomp($dbadminpass);
@@ -662,7 +662,7 @@ sub pg_create_database
        $sth=$dbh->prepare("create USER $x2goadmin WITH ENCRYPTED PASSWORD 
'$x2goadminpass'");
        $sth->execute() or die;
        #save x2goadmin password
-       open (FL,"> /etc/x2go/x2gosql/passwords/x2gopgadmin ") or die "Can't 
write password file /etc/x2go/x2gosql/passwords/x2gopgadmin";
+       open (FL,"> /etc/x2go/x2gosql/passwords/x2gopgadmin") or die "Can't 
write password file /etc/x2go/x2gosql/passwords/x2gopgadmin";
        print FL $x2goadminpass;
        close(FL);
        $sth->finish();

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goserver.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to