Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit ea18ed2

Browse files
Matthew Shinisaacs
Matthew Shin
authored andcommitted
fix: remove procInterrupt listener on SIGINT in procError
PR-URL: #36 Close: #36 Reviewed-by: @isaacs Credit: @mattshin Fix: #11 Fix: #18
1 parent ab15975 commit ea18ed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ function runCmd_ (cmd, pkg, env, wd, opts, stage, unsafe, uid, gid, cb_) {
333333
process.removeListener('SIGTERM', procKill)
334334
process.removeListener('SIGTERM', procInterupt)
335335
process.removeListener('SIGINT', procKill)
336+
process.removeListener('SIGINT', procInterupt)
336337
return cb(er)
337338
}
338339
function procKill () {

0 commit comments

Comments
 (0)