2
0
Эх сурвалжийг харах

Re-enable exit on stream close in netconf service.

Adam Ierymenko 11 жил өмнө
parent
commit
914bebba31

+ 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