From 13d472b160272dbf9054652c7863d5c788480839 Mon Sep 17 00:00:00 2001 From: John Sully Date: Wed, 30 Sep 2020 20:17:51 +0000 Subject: [PATCH] Keep redis-cli.c C89 compatible Former-commit-id: 9798f2d711939b03e972207638d18dcaa3b2e473 --- src/redis-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis-cli.c b/src/redis-cli.c index 2b736b3e3..5dfcd6fad 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -1442,7 +1442,7 @@ static int parseOptions(int argc, char **argv) { sdsfree(version); exit(0); } else if (!strcmp(argv[i],"--no-motd")) { - config.disable_motd = true; + config.disable_motd = 1; } else if (!strcmp(argv[i],"-3")) { config.resp3 = 1; } else if (CLUSTER_MANAGER_MODE() && argv[i][0] != '-') {