]> iEval git - gruntmaster-daemon.git/commitdiff
Return NZX for return codes above 128+32
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 6 Feb 2015 09:23:04 +0000 (11:23 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 6 Feb 2015 09:23:04 +0000 (11:23 +0200)
gruntmaster-exec

index 46ac491a674ebb1eb3672783e913d1f08e6d8a30..9590b4e34173feaa8198bfa13e84e424d810bea6 100755 (executable)
@@ -64,7 +64,7 @@ if ($ret) {
        alarm 0;
        if (@sudo) {
                $? = $? >> 8;
-               $? = $? < 128 ? ($? << 8) : $? - 128;
+               $? = $? < 128 || $? > 128+32 ? ($? << 8) : $? - 128;
        }
        my $sig = $? & 127;
        my $signame = sig_name $sig;
This page took 0.025762 seconds and 4 git commands to generate.