mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Sentinel: added missing exit(1) after checking for config file.
This commit is contained in:
parent
540536c055
commit
25cebf7285
@ -420,6 +420,7 @@ void sentinelIsRunning(void) {
|
||||
if (server.configfile == NULL) {
|
||||
redisLog(REDIS_WARNING,
|
||||
"Sentinel started without a config file. Exiting...");
|
||||
exit(1);
|
||||
} else if (access(server.configfile,W_OK) == -1) {
|
||||
redisLog(REDIS_WARNING,
|
||||
"Sentinel config file %s is not writable: %s. Exiting...",
|
||||
|
Loading…
Reference in New Issue
Block a user