소스 검색

Re-enable exit on stream close in netconf service.

Adam Ierymenko 11 년 전
부모
커밋
914bebba31
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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