mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 01:20: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);
|
zfree(reply);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (reply[bulklen-1] != '\n') printf("\n");
|
|
||||||
} else {
|
} else {
|
||||||
/* If you are producing output for the standard output we want
|
/* If you are producing output for the standard output we want
|
||||||
* a more interesting output with quoted characters and so forth */
|
* a more interesting output with quoted characters and so forth */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user