Skip to content

Commit c6e7549

Browse files
committed
FS-4634 --resolve
1 parent eca14d4 commit c6e7549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/switch_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1692,7 +1692,7 @@ static void switch_load_core_config(const char *file)
16921692
switch_core_session_ctl(SCSC_LOGLEVEL, &level);
16931693
}
16941694
#ifdef HAVE_SETRLIMIT
1695-
} else if (!strcasecmp(var, "dump-cores")) {
1695+
} else if (!strcasecmp(var, "dump-cores") && switch_true(val)) {
16961696
struct rlimit rlp;
16971697
memset(&rlp, 0, sizeof(rlp));
16981698
rlp.rlim_cur = RLIM_INFINITY;

0 commit comments

Comments
 (0)