Skip to content

Commit

Permalink
explicit zero code on process.kill
Browse files Browse the repository at this point in the history
  • Loading branch information
floatdrop committed Nov 7, 2015
1 parent 71c79e0 commit e0e43b8
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 @@ -26,7 +26,7 @@ module.exports = function (args) {

// after all tests are finished and results received
// kill the forked process, so AVA can exit safely
ps.kill();
ps.kill(0);
});

ps.on('error', reject);
Expand Down

0 comments on commit e0e43b8

Please sign in to comment.