mirror of
https://github.com/troglobit/finit.git
synced 2026-10-08 00:24:17 +07:00
conf_reload(): No need to reload global rlimits again
This patch removes duplicate reload of global_rlimit[], which parse_conf() already has done. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -491,10 +491,6 @@ int conf_reload(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Update global limits in case operator used prlimit(1) on us */
|
||||
for (i = 0; i < RLIMIT_NLIMITS; i++)
|
||||
getrlimit(i, &global_rlimit[i]);
|
||||
|
||||
for (i = 0; i < num; i++) {
|
||||
char *name = e[i]->d_name;
|
||||
char path[LINE_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user