From: Marius Gavrilescu Date: Wed, 9 Apr 2014 20:50:50 +0000 (+0300) Subject: Ignore SIGPIPE in Format.pm X-Git-Tag: 5999.000_003~17 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=12e3963529a419312e04f72cabb0f8dcb2a9523a;p=gruntmaster-daemon.git Ignore SIGPIPE in Format.pm --- diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index c49ffc1..6bd9a5e 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -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}} : ();