提交 889e443c 编写于 作者: S Steeve Lennmark 提交者: antirez

Check that we have connection before enabling pipe mode

上级 3bb3f125
......@@ -1233,7 +1233,7 @@ int main(int argc, char **argv) {
/* Pipe mode */
if (config.pipe_mode) {
cliConnect(0);
if (cliConnect(0) == REDIS_ERR) exit(1);
pipeMode();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册