Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
25cebf72
Commit
25cebf72
authored
Feb 24, 2014
by
antirez
Browse files
Sentinel: added missing exit(1) after checking for config file.
parent
540536c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
25cebf72
...
...
@@ -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...",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment