Improve error message in BGSAVE.

This commit is contained in:
antirez 2019-09-27 11:59:37 +02:00
parent ae3ef964c1
commit beb1356b5b

View File

@ -2590,7 +2590,7 @@ void bgsaveCommand(client *c) {
addReplyStatus(c,"Background saving scheduled"); addReplyStatus(c,"Background saving scheduled");
} else { } else {
addReplyError(c, addReplyError(c,
"Another BG operation is in progress: can't BGSAVE right now. " "Another child process is active (AOF?): can't BGSAVE right now. "
"Use BGSAVE SCHEDULE in order to schedule a BGSAVE whenever " "Use BGSAVE SCHEDULE in order to schedule a BGSAVE whenever "
"possible."); "possible.");
} }