Skip to content

Commit 02fc6a1

Browse files
committed
remove node 0.10 sigterm code handling
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.
1 parent f2c0709 commit 02fc6a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fork.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = function (file, opts) {
7979
});
8080

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

0 commit comments

Comments
 (0)