Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix warning in redis.c for sentinel config load

  • Loading branch information...
commit f1c8661e74ab1b6c45669f4a998484dfe54ed2d3 1 parent 9e5bef3
@mrb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/redis.c
View
2  src/redis.c
@@ -2596,7 +2596,7 @@ int main(int argc, char **argv) {
loadServerConfig(configfile,options);
sdsfree(options);
} else {
- redisLog(REDIS_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'");
+ redisLog(REDIS_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf", argv[0], server.sentinel_mode ? "sentinel" : "redis");
}
if (server.daemonize) daemonize();
initServer();
Please sign in to comment.
Something went wrong with that request. Please try again.