X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/bab205f787afcb37e5b5a5d1eb16c8fafef6f95d..80ad7189e8de69ce5f7950dcdea4789be7db7014:/src/debug.c?ds=sidebyside diff --git a/src/debug.c b/src/debug.c index 05181912..7751adf9 100644 --- a/src/debug.c +++ b/src/debug.c @@ -222,7 +222,7 @@ void debugCommand(redisClient *c) { } emptyDb(); if (rdbLoad(server.dbfilename) != REDIS_OK) { - addReply(c,shared.err); + addReplyError(c,"Error trying to load the RDB dump"); return; } redisLog(REDIS_WARNING,"DB reloaded by DEBUG RELOAD");