Commit beb1356b authored by antirez's avatar antirez
Browse files

Improve error message in BGSAVE.

parent ae3ef964
......@@ -2590,9 +2590,9 @@ void bgsaveCommand(client *c) {
addReplyStatus(c,"Background saving scheduled");
} else {
addReplyError(c,
"Another BG operation is in progress: can't BGSAVE right now. "
"Use BGSAVE SCHEDULE in order to schedule a BGSAVE whenever "
"possible.");
"Another child process is active (AOF?): can't BGSAVE right now. "
"Use BGSAVE SCHEDULE in order to schedule a BGSAVE whenever "
"possible.");
}
} else if (rdbSaveBackground(server.rdb_filename,rsiptr) == C_OK) {
addReplyStatus(c,"Background saving started");
......
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