mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Revert "Use REDIS_SUPERVISED_NONE instead of 0."
This reverts commit 2c925b0c302ad8612cc4ac6261549482d3c69846. Nevermind.
This commit is contained in:
parent
2c925b0c30
commit
f08586347d
@ -908,8 +908,7 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) {
|
|||||||
" Suspect RAM error? Use redis-server --test-memory to verify it.\n\n"
|
" Suspect RAM error? Use redis-server --test-memory to verify it.\n\n"
|
||||||
);
|
);
|
||||||
/* free(messages); Don't call free() with possibly corrupted memory. */
|
/* free(messages); Don't call free() with possibly corrupted memory. */
|
||||||
if (server.daemonize && server.supervised == REDIS_SUPERVISED_NONE)
|
if (server.daemonize && server.supervised == 0) unlink(server.pidfile);
|
||||||
unlink(server.pidfile);
|
|
||||||
|
|
||||||
/* Make sure we exit with the right signal at the end. So for instance
|
/* Make sure we exit with the right signal at the end. So for instance
|
||||||
* the core will be dumped if enabled. */
|
* the core will be dumped if enabled. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user