Revert main.c to upstream
This commit is contained in:
parent
422a403d7c
commit
0144e4c783
1 changed files with 0 additions and 3 deletions
3
main.c
3
main.c
|
@ -290,9 +290,6 @@ main(int argc, char *argv[])
|
||||||
die("setrlimit RLIMIT_NPROC:");
|
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 */
|
/* validate user and group */
|
||||||
errno = 0;
|
errno = 0;
|
||||||
if (!user || !(pwd = getpwnam(user))) {
|
if (!user || !(pwd = getpwnam(user))) {
|
||||||
|
|
Loading…
Reference in a new issue