mirror of
https://github.com/marcan/takeover.sh
synced 2025-08-20 21:33:49 -07:00
Close more FDs (64 not enough on debian/systemd)
This commit is contained in:
parent
810e7f2a74
commit
0cc16794af
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ int main()
|
|||
sigset_t set;
|
||||
int status, i;
|
||||
|
||||
for (i = 0; i < 64; i++)
|
||||
for (i = 0; i < 1024; i++)
|
||||
close(i);
|
||||
|
||||
if (getpid() != 1) return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue