mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
ca39752bc6
commit
c6d3484a21
|
@ -98,7 +98,7 @@ const startProcess = () => {
|
|||
}
|
||||
// tslint:disable-next-line
|
||||
console.log(`got signal ${signal}, exiting`)
|
||||
process.exit(signal === 'SIGINT' ? 0 : 1)
|
||||
process.exit(signal === 'SIGINT' || signal === 'SIGTERM' ? 0 : 1)
|
||||
}
|
||||
process.exit(0)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue