]> iEval git - gruntmaster-daemon.git/commitdiff
Fix previous commit
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 9 Apr 2014 20:53:10 +0000 (23:53 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 9 Apr 2014 20:53:10 +0000 (23:53 +0300)
lib/Gruntmaster/Daemon/Format.pm

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