Skip to content

Commit a1589ff

Browse files
committed
Change signal catch back to exit
1 parent 44f3b66 commit a1589ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function runCmd_ (cmd, pkg, env, wd, opts, stage, unsafe, uid, gid, cb_) {
330330
proc.kill()
331331
}
332332
function procInterrupt () {
333-
proc.on('close', () => process.exit(130))
333+
proc.on('exit', () => process.exit(130))
334334
proc.kill('SIGINT')
335335
process.once('SIGINT', procKill)
336336
}

0 commit comments

Comments
 (0)