Browse Source

Re-enable exit on stream close in netconf service.

Adam Ierymenko 11 years ago
parent
commit
914bebba31
1 changed files with 3 additions and 3 deletions
  1. 3 3
      netconf-service/index.js

+ 3 - 3
netconf-service/index.js

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