]> iEval git - gruntmaster-daemon.git/commitdiff
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 c49ffc1ea1b1b7336efa8ad04b76691c40531def..6bd9a5e67b154a6e839e534a73e004184cd68287 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.023871 seconds and 4 git commands to generate.