Fix failure to replicate with license key

Former-commit-id: 41a72a795ade90b1aea509e9e3ebad819a997acf
This commit is contained in:
John Sully 2020-07-12 05:14:59 +00:00
parent ead6e22865
commit 6c66fef004

View File

@ -2723,9 +2723,6 @@ void syncWithMaster(connection *conn) {
if (err[1] == 'E' && err[2] == 'R' && err[3] == 'R') {
// Replicating with non-pro
serverLog(LL_WARNING, "Replicating with non-pro server.");
mi->repl_state = REPL_STATE_SEND_PORT;
sdsfree(err);
return;
} else {
serverLog(LL_WARNING, "Recieved error from client: %s", err);
sdsfree(err);