소스 검색

Remove closing of ttys that slipped in improperly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1494 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 18 년 전
부모
커밋
371a64173c
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      exec/main.c

+ 0 - 8
exec/main.c

@@ -283,14 +283,6 @@ static void aisexec_tty_detach (void)
 	int lpc, fd;
 	struct rlimit oflimits;
 
-	/*
-	 * close all open files
-	 */
-	getrlimit(RLIMIT_NOFILE, &oflimits);
-	for (lpc = 0; lpc < oflimits.rlim_cur; lpc++) {
-		close(lpc);
-	}
-
 	/*
 	 * Disconnect from TTY if this is not a debug run
 	 */