From 0f8df3df417a22ce8f34e4c21b09f8ff5eb60320 Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Mon, 28 Jul 2014 00:30:12 -0700 Subject: [PATCH] Fix spelling of "stand alone" in ascii art Also unified the logic to match `genRedisInfoString` --- src/redis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index d002c123..5ddbc925 100644 --- a/src/redis.c +++ b/src/redis.c @@ -3381,10 +3381,11 @@ void usage() { void redisAsciiArt(void) { #include "asciilogo.h" char *buf = zmalloc(1024*16); - char *mode = "stand alone"; + char *mode; if (server.cluster_enabled) mode = "cluster"; else if (server.sentinel_mode) mode = "sentinel"; + else mode = "standalone"; snprintf(buf,1024*16,ascii_logo, REDIS_VERSION,