Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f0858634
Commit
f0858634
authored
Jan 12, 2015
by
antirez
Browse files
Revert "Use REDIS_SUPERVISED_NONE instead of 0."
This reverts commit
2c925b0c
. Nevermind.
parent
2c925b0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
f0858634
...
@@ -908,8 +908,7 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) {
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment