mirror of
https://github.com/fluencelabs/redis
synced 2025-05-12 10:47:12 +00:00
Fix warning in redis.c for sentinel config load
This commit is contained in:
parent
fcc8bf9974
commit
f1057534e7
@ -2559,7 +2559,7 @@ int main(int argc, char **argv) {
|
|||||||
loadServerConfig(configfile,options);
|
loadServerConfig(configfile,options);
|
||||||
sdsfree(options);
|
sdsfree(options);
|
||||||
} else {
|
} 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();
|
if (server.daemonize) daemonize();
|
||||||
initServer();
|
initServer();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user