From 12e3963529a419312e04f72cabb0f8dcb2a9523a Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 9 Apr 2014 23:50:50 +0300 Subject: [PATCH] Ignore SIGPIPE in Format.pm --- lib/Gruntmaster/Daemon/Format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}} : (); -- 2.39.2