提交 095e805e 编写于 作者: A antirez

don't output the newline when stdout is not a tty

上级 21cdc9f0
......@@ -271,7 +271,6 @@ static int cliReadBulkReply(int fd) {
zfree(reply);
return 1;
}
if (reply[bulklen-1] != '\n') printf("\n");
} else {
/* If you are producing output for the standard output we want
* a more interesting output with quoted characters and so forth */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册