From 59bf34352172acd98f1a51c966e93abdd2b2c95a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 8 May 2012 08:55:24 -0700 Subject: [PATCH] Leave first filename and linenumber on the same line as error text. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 0826af592..7d26f7bdd 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -809,7 +809,7 @@ sub currentlineinfo() { my $linenumber = $currentlinenumber || 1; if ( $currentfile ) { - my $lineinfo = @includestack || @openstack ? "\n $currentfilename " : " $currentfilename "; + my $lineinfo = " $currentfilename "; if ( $linenumber eq 'EOF' ) { $lineinfo .= '(EOF)'