summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/utils.c b/os/utils.c
index e8d11f806..b630d9d9e 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -656,13 +656,13 @@ ProcessCommandLine(int argc, char *argv[])
}
else if ( strcmp( argv[i], "-core") == 0)
{
- CoreDump = TRUE;
#if !defined(WIN32) || !defined(__MINGW32__)
struct rlimit core_limit;
getrlimit (RLIMIT_CORE, &core_limit);
core_limit.rlim_cur = core_limit.rlim_max;
setrlimit (RLIMIT_CORE, &core_limit);
#endif
+ CoreDump = TRUE;
}
else if ( strcmp( argv[i], "-dpi") == 0)
{