mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-24 09:58:16 +00:00
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:
parent
9a314e04dc
commit
371a64173c
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user