Node v0.8 returns code 1 on SIGINT vs 130 with v0.10
This commit is contained in:
parent
0ac53cfadb
commit
5cfb9fe57d
@ -58,7 +58,7 @@ module.exports = function(grunt) {
|
||||
// Run grunt this process uses, append the task to be run and any cli options
|
||||
args: self.tasks.concat(self.options.cliArgs || []),
|
||||
}, function(err, res, code) {
|
||||
if (self.options.interrupt !== true || code !== 130) {
|
||||
if (self.options.interrupt !== true || (code !== 130 && code !== 1)) {
|
||||
// Spawn is done
|
||||
self.spawned = null;
|
||||
done();
|
||||
|
Loading…
Reference in New Issue
Block a user