[X2Go-Commits] [x2goserver] 05/30: x2goserver/lib/x2gois{int, true}: add newlines to (error) output.

git-admin at x2go.org git-admin at x2go.org
Thu Dec 13 11:22:46 CET 2018


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

x2go pushed a commit to branch master
in repository x2goserver.

commit 25fb903047987e46343a8e4f5b583a661be7d60c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Dec 6 02:52:17 2018 +0100

    x2goserver/lib/x2gois{int,true}: add newlines to (error) output.
---
 debian/changelog          | 1 +
 x2goserver/lib/x2goisint  | 2 +-
 x2goserver/lib/x2goistrue | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8cef333..4d4eae9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ x2goserver (4.1.0.4-0x2go1) UNRELEASED; urgency=medium
     - X2Go/Utils.pm: add new is_int subroutine, checking if the provided value
       is an integer.
     - x2goserver/lib: new x2goisint wrapper.
+    - x2goserver/lib/x2gois{int,true}: add newlines to (error) output.
   * debian/control:
     + Build-depend upon lsb-release for distro version detection.
   * debian/x2goserver.manpages:
diff --git a/x2goserver/lib/x2goisint b/x2goserver/lib/x2goisint
index eef7f0b..58250a4 100755
--- a/x2goserver/lib/x2goisint
+++ b/x2goserver/lib/x2goisint
@@ -25,7 +25,7 @@ my $value = shift;
 my $allow_negative = shift;
 
 if (!(defined ($value))) {
-  print STDERR 'No value passed in, assuming empty string.';
+  print STDERR "No value passed in, assuming empty string.\n";
   $value = '';
 }
 
diff --git a/x2goserver/lib/x2goistrue b/x2goserver/lib/x2goistrue
index 5978436..0683cc4 100755
--- a/x2goserver/lib/x2goistrue
+++ b/x2goserver/lib/x2goistrue
@@ -24,7 +24,7 @@ use X2Go::Utils qw (is_true);
 my $value = shift;
 
 if (!(defined ($value))) {
-  print STDERR "No value passed in, assuming empty string.";
+  print STDERR "No value passed in, assuming empty string.\n";
   $value = "";
 }
 

--
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