Re-enable exit on stream close in netconf service.

This commit is contained in:
Adam Ierymenko 2014-05-27 15:59:09 +00:00
parent 4b773b61f5
commit 914bebba31

View File

@ -565,13 +565,13 @@ process.stdin.on('readable',function() {
}
});
process.stdin.on('end',function() {
//process.exit(0);
process.exit(0);
});
process.stdin.on('close',function() {
//process.exit(0);
process.exit(0);
});
process.stdin.on('error',function() {
//process.exit(0);
process.exit(0);
});
// Tell ZeroTier One that the service is running, solicit netconf-init