Commit fddc4757 authored by antirez's avatar antirez
Browse files

BGREWRITEAOF: improve the generic error message.

parent b7b23bdf
......@@ -1630,7 +1630,8 @@ void bgrewriteaofCommand(client *c) {
} else if (rewriteAppendOnlyFileBackground() == C_OK) {
addReplyStatus(c,"Background append only file rewriting started");
} else {
addReply(c,shared.err);
addReplyError(c,"Can't execute an AOF background rewriting. "
"Please check the server logs for more information.");
}
}
......
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