X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=gruntmaster-exec;h=b6577f4649206fee2e1cd108b6ec62cce581d8f1;hp=5235e8e5ed3430fa06b37a73a8bc5304c78d54ae;hb=5738d1dcc0e4af406b1bc14c23af9c6e53ba259c;hpb=2ddfc5472cd27c537a9c37e3e6074c3f3997dc0d diff --git a/gruntmaster-exec b/gruntmaster-exec index 5235e8e..b6577f4 100755 --- a/gruntmaster-exec +++ b/gruntmaster-exec @@ -66,7 +66,7 @@ if ($ret) { my $signame = sig_name $sig; exit !say TLE, "\nTime Limit Exceeded" if $tle; exit !say OLE, "\nOutput Limit Exceeded" if $sig && $signame eq 'XFSZ'; - exit !say DIED, "\nCrash (SIG$signame)" if $sig && $signame ne 'PIPE'; + exit !say DIED, "\nCrash (SIG$signame)" if $sig && ($signame ne 'PIPE' || $ARGV[0] !~ /prog/); exit !say NZX, "\nNon-zero exit status: " . ($? >> 8) if $? >> 8; exit !say AC, "\nAll OK"; } else {