Ignore SIGPIPE in Format.pm
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 9 Apr 2014 20:50:50 +0000 (23:50 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 9 Apr 2014 20:50:50 +0000 (23:50 +0300)
lib/Gruntmaster/Daemon/Format.pm

index c49ffc1..6bd9a5e 100644 (file)
@@ -49,7 +49,7 @@ sub mkrun{
                        my $signame = sig_name $sig;
                        die [TLE, "Time Limit Exceeded"] if $tle;
                        die [OLE, 'Output Limit Exceeded'] if $sig && $signame eq 'XFSZ';
-                       die [DIED, "Crash (SIG$signame)"] if $sig;
+                       die [DIED, "Crash (SIG$signame)"] if $sig && $signame != 'PIPE';
                        die [NZX, "Non-zero exit status: " . ($? >> 8)] if $?;
                } else {
                        my @fds = exists $args{fds} ? @{$args{fds}} : ();
This page took 0.011459 seconds and 4 git commands to generate.