Close more FDs (64 not enough on debian/systemd)

This commit is contained in:
Chris Lee 2019-03-13 21:08:12 -06:00
commit 0cc16794af
No known key found for this signature in database
GPG key ID: 7A6BDC1FF1DD2862

View file

@ -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;