Skip to content

Commit

Permalink
Check for SIGTERM exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
floatdrop committed Nov 7, 2015
1 parent 71c79e0 commit 04c687b
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 04c687b

Please sign in to comment.