We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca14d4 commit c6e7549Copy full SHA for c6e7549
src/switch_core.c
@@ -1692,7 +1692,7 @@ static void switch_load_core_config(const char *file)
1692
switch_core_session_ctl(SCSC_LOGLEVEL, &level);
1693
}
1694
#ifdef HAVE_SETRLIMIT
1695
- } else if (!strcasecmp(var, "dump-cores")) {
+ } else if (!strcasecmp(var, "dump-cores") && switch_true(val)) {
1696
struct rlimit rlp;
1697
memset(&rlp, 0, sizeof(rlp));
1698
rlp.rlim_cur = RLIM_INFINITY;
0 commit comments