Skip to content

Commit

Permalink
Merge pull request #155 from floatdrop/set-kill-code-to-zero
Browse files Browse the repository at this point in the history
Check for SIGTERM exit code
  • Loading branch information
sindresorhus committed Nov 8, 2015
2 parents e57b99d + 04c687b commit 1e995fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fork.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1e995fe

Please sign in to comment.