Is this at all correct?
var sigintCount = 0;
process.on('SIGINT', () => {
console.log('Got your SIGINT => Press Control-C *twice* to exit.');
sigintCount++;
if(sigintCount > 1){
process.exit(); //what is an appropriate exit code?
}
});
and what exit code should I use?