Commit 7a5538d3 authored by Misha Nasledov's avatar Misha Nasledov
Browse files

Fix incorrect comment for checkForSentinelMode function

parent f7351f4c
...@@ -3825,7 +3825,7 @@ void setupSignalHandlers(void) { ...@@ -3825,7 +3825,7 @@ void setupSignalHandlers(void) {
void memtest(size_t megabytes, int passes); void memtest(size_t megabytes, int passes);
/* Returns 1 if there is --sentinel among the arguments or if /* Returns 1 if there is --sentinel among the arguments or if
* argv[0] is exactly "redis-sentinel". */ * argv[0] contains "redis-sentinel". */
int checkForSentinelMode(int argc, char **argv) { int checkForSentinelMode(int argc, char **argv) {
int j; int j;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment