Bug#622934: local-debbugs: missing newline at end of "'/etc/debbugs/config' doesn't exist" message

Jonathan Nieder <[email protected]>
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <20110415231153.GA20654__40742.8388404243$1302909325$gmane$org@elie>
Package: libdebbugs-perl
Version: 2.4.2~exp1
Severity: minor
Justification: cosmetic
Tags: patch

Hi,

Trying local-debbugs again.  How about this patch?

-- 8< --
Subject: Add missing newline to (! -e $conf_file) message

The message reporting that /etc/debbugs/config doesn't exist is
missing a trailing newline.  Noticed because it runs into the
next message when trying out debbugs-local for the first time.

 $ local-debbugs --mirror
 configuration file '/etc/debbugs/config' doesn't exist; skipping itRsyncing bugs
 [...]

Signed-off-by: Jonathan Nieder <[email protected]>
---
 Debbugs/Config.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Debbugs/Config.pm b/Debbugs/Config.pm
index ae4c04f..d5a928d 100644
--- a/Debbugs/Config.pm
+++ b/Debbugs/Config.pm
@@ -1025,7 +1025,7 @@ set_default(\%config,'html_expire_note',
 sub read_config{
      my ($conf_file) = @_;
      if (not -e $conf_file) {
-	 print STDERR "configuration file '$conf_file' doesn't exist; skipping it";
+	 print STDERR "configuration file '$conf_file' doesn't exist; skipping it\n";
 	 return;
      }
      # first, figure out what type of file we're reading in.
-- 
1.7.5.rc2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.