diff --git a/src/cluster.c b/src/cluster.c index 3ce8bc513cf5c94c41e0f25dd280c173283389c1..622b90a18a88bace711d1b56ce1e56c3263f4899 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -331,15 +331,15 @@ void clusterInit(void) { server.cfd_count = 0; /* Port sanity check II - The other handshake port check is triggered too late to stop - us from trying to use a too-high cluster port number. - */ + * The other handshake port check is triggered too late to stop + * us from trying to use a too-high cluster port number. */ if (server.port > (65535-REDIS_CLUSTER_PORT_INCR)) { redisLog(REDIS_WARNING, "Redis port number too high. " "Cluster communication port is 10,000 port " "numbers higher than your Redis port. " "Your Redis port number must be " "lower than 55535."); + exit(1); } if (listenToPort(server.port+REDIS_CLUSTER_PORT_INCR,