Przeglądaj źródła

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 lat temu
rodzic
commit
371a64173c
1 zmienionych plików z 0 dodań i 8 usunięć
  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
 	 */