提交 8513a757 编写于 作者: A antirez

minor change to shutdown

上级 fab43727
......@@ -4180,7 +4180,6 @@ static int prepareForShutdown() {
if (server.daemonize)
unlink(server.pidfile);
redisLog(REDIS_WARNING,"%zu bytes used at exit",zmalloc_used_memory());
redisLog(REDIS_WARNING,"Server exit now, bye bye...");
} else {
/* Ooops.. error saving! The best we can do is to continue
* operating. Note that if there was a background saving process,
......@@ -4191,6 +4190,7 @@ static int prepareForShutdown() {
return REDIS_ERR;
}
}
redisLog(REDIS_WARNING,"Server exit now, bye bye...");
return REDIS_OK;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册