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

This commit is contained in:
Chris Lee 2019-03-13 21:08:12 -06:00 committed by Hector Martin
commit 55526a9cec

View file

@ -8,7 +8,7 @@ int main()
sigset_t set; sigset_t set;
int status, i; int status, i;
for (i = 0; i < 64; i++) for (i = 0; i < 1024; i++)
close(i); close(i);
if (getpid() != 1) return 1; if (getpid() != 1) return 1;