提交 442c748d 编写于 作者: A antirez

redis-cli: Use the repetiton prefix after a reconnection.

上级 4d19e344
......@@ -696,7 +696,8 @@ static void repl() {
/* If we still cannot send the command print error.
* We'll try to reconnect the next time. */
if (cliSendCommand(argc,argv,1) != REDIS_OK)
if (cliSendCommand(argc-skipargs,argv+skipargs,repeat)
!= REDIS_OK)
cliPrintContextError();
}
elapsed = mstime()-start_time;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册