From 04c687bc6d068c2fa0a4a7516996fd6cf36f0b77 Mon Sep 17 00:00:00 2001 From: Vsevolod Strukchinsky Date: Sat, 7 Nov 2015 21:48:11 +0500 Subject: [PATCH] Check for SIGTERM exit code --- lib/fork.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fork.js b/lib/fork.js index a670ba80e..8fadb8805 100644 --- a/lib/fork.js +++ b/lib/fork.js @@ -32,7 +32,7 @@ module.exports = function (args) { ps.on('error', reject); ps.on('exit', function (code) { - if (code > 0) { + if (code > 0 && code !== 143) { reject(); } else { resolve(testResults);