mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
don't output the newline when stdout is not a tty
This commit is contained in:
parent
21cdc9f064
commit
095e805e89
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user