Remove closing of ttys that slipped in improperly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1494 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2008-01-08 05:12:05 +00:00
parent 9a314e04dc
commit 371a64173c

View File

@ -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
*/