summaryrefslogtreecommitdiff
path: root/netconf-service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-05-27 15:59:09 +0000
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-05-27 15:59:09 +0000
commit914bebba3162cd3aff5d49fe31431a5ef8d9268e (patch)
tree7a10969f6fe7c6c9182eefc883272805161ce72f /netconf-service
parent4b773b61f51888f21b507bc0e70d69bfe83f2f34 (diff)
downloadinfinitytier-914bebba3162cd3aff5d49fe31431a5ef8d9268e.tar.gz
infinitytier-914bebba3162cd3aff5d49fe31431a5ef8d9268e.zip
Re-enable exit on stream close in netconf service.
Diffstat (limited to 'netconf-service')
-rw-r--r--netconf-service/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netconf-service/index.js b/netconf-service/index.js
index 00ffcea6..494e819f 100644
--- a/netconf-service/index.js
+++ b/netconf-service/index.js
@@ -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