Revert main.c to upstream

This commit is contained in:
Armin Friedl 2020-08-17 21:31:37 +02:00
parent 422a403d7c
commit 0144e4c783

3
main.c
View file

@ -290,9 +290,6 @@ main(int argc, char *argv[])
die("setrlimit RLIMIT_NPROC:");
}
getrlimit(RLIMIT_NPROC, &rlim);
printf("Process limit: soft %lu, hard %lu\n", rlim.rlim_cur, rlim.rlim_max);
/* validate user and group */
errno = 0;
if (!user || !(pwd = getpwnam(user))) {