Merge pull request #3324 from mishan/fix-wrong-comment-about-sentinel-mode

Fix incorrect comment for checkForSentinelMode function
This commit is contained in:
Salvatore Sanfilippo 2016-06-23 16:39:51 +02:00 committed by GitHub
commit f60aa4de30

View File

@ -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;