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 46ac491..9590b4e 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.025582 seconds and 4 git commands to generate.