Clean up no-conf server warning for sentinel mode (#8769)
This commit is contained in:
parent
733daef127
commit
38da8d07d0
@ -6302,7 +6302,7 @@ int main(int argc, char **argv) {
|
||||
(int)getpid());
|
||||
|
||||
if (argc == 1) {
|
||||
serverLog(LL_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");
|
||||
serverLog(LL_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/redis.conf", argv[0]);
|
||||
} else {
|
||||
serverLog(LL_WARNING, "Configuration loaded");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user