Skip to content

Commit

Permalink
remove node 0.10 sigterm code handling
Browse files Browse the repository at this point in the history
The child process is no longer killed from the main process, instead it exits
upon receiving an 'exit' message. This makes the changes from
<#155> redundant.
  • Loading branch information
novemberborn committed Mar 23, 2016
1 parent f2c0709 commit 02fc6a1
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 @@ -79,7 +79,7 @@ module.exports = function (file, opts) {
});

ps.on('exit', function (code) {
if (code > 0 && code !== 143) {
if (code > 0) {
return reject(new AvaError(relFile + ' exited with a non-zero exit code: ' + code));
}

Expand Down

0 comments on commit 02fc6a1

Please sign in to comment.