From: Thomas Hochstein Date: Sun, 21 Feb 2010 17:56:06 +0000 (+0100) Subject: Change: Don't output line number if .cfg file can't be opened. X-Git-Tag: v0.6~9 X-Git-Url: https://code.th-h.de/?p=usenet%2Fyapfaq.git;a=commitdiff_plain;h=c2f107a55ec87cb6e996eb9c88805275ef6843d9;hp=7aaba0e0ae35ad6efe161bbe0047bbc18ac227ac Change: Don't output line number if .cfg file can't be opened. Signed-off-by: Thomas Hochstein --- diff --git a/yapfaq.pl b/yapfaq.pl index 06734ff..517eac1 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -79,7 +79,7 @@ foreach (@Config) { } close FH; } else { - warn "Couldn't open $File.cfg: $!"; + warn "Couldn't open $File.cfg: $!\n"; } $SupersedeMID = "" unless $Supersede;