From ad6cb8f0d2ffa516fb95a657324c2cb2dba805bd Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 9 Sep 2001 14:54:52 +0000 Subject: (formatError): better handling if error is multi-lined --- MDK/Common/String.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MDK') diff --git a/MDK/Common/String.pm b/MDK/Common/String.pm index 5d302a9..480c8f4 100644 --- a/MDK/Common/String.pm +++ b/MDK/Common/String.pm @@ -90,7 +90,7 @@ sub formatList { } sub formatError { my ($err) = @_; - $err =~ s/ at .*?$/\./ if !$::testing; + $err =~ s/ at .*?$/\./s if !$::testing; $err; } sub formatTimeRaw { -- cgit v1.2.1