X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FFormat.pm;h=cca52ed5fc437700b38aa381e61fed7e709d51b4;hp=41bfc0ced8c88274acb31c1c1a1cd3e4dc4a9569;hb=837911b376705e31b1affbe5679f92e072d2601e;hpb=d9ea4614aeddad7f8235a73ce3256bdce2b17811 diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index 41bfc0c..cca52ed 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -96,7 +96,7 @@ sub prepare{ die "Compile error\n" } finally { $Gruntmaster::Daemon::errors .= read_file 'errors'; - $Gruntmaster::Daemon::errors .= "\n"; + $Gruntmaster::Daemon::errors .= "\n" if -s 'errors'; unlink 'errors'; }; }