Skip to content
Snippets Groups Projects
Commit e0f961f8 authored by Sean McArthur's avatar Sean McArthur
Browse files

don't set process.env.SUPPORTS_SIGNALS = false

process.env converts all values set into strings,
so its better to just not set it.
parent 474ef633
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,6 @@ if (!(SIGNALS_PROP in process.env)) {
process.removeListener('SIGINT', signals_test);
process.env[SIGNALS_PROP] = true;
} catch (noSignals) {
process.env[SIGNALS_PROP] = false;
}
}
......@@ -155,4 +154,5 @@ if (process.env[SIGNALS_PROP]) {
console.log('\nSIGINT recieved! trying to shut down gracefully...');
Object.keys(daemons).forEach(function (k) { daemons[k].kill('SIGINT'); });
});
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment