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 6bd9a5e..bab6d97 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.03476 seconds and 4 git commands to generate.