From: Alan T. DeKok Date: Fri, 2 Jul 2021 11:18:06 +0000 (-0400) Subject: typo X-Git-Tag: release_3_0_24~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55352bcbf2da174592d0a793157a6c252d26b102;p=thirdparty%2Ffreeradius-server.git typo --- diff --git a/src/lib/debug.c b/src/lib/debug.c index 6330c9cb66d..ef6d542002a 100644 --- a/src/lib/debug.c +++ b/src/lib/debug.c @@ -599,7 +599,7 @@ int fr_set_dumpable(bool allow_core_dumps) struct rlimit no_core; no_core.rlim_cur = 0; - no_core.rlim_max = current.rlim_max; + no_core.rlim_max = core_limits.rlim_max; if (setrlimit(RLIMIT_CORE, &no_core) < 0) { fr_strerror_printf("Failed disabling core dumps: %s", fr_syserror(errno));