X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/093433c16ddf432e5005a6b45825febf448fc6a9..dd5fbedf7bb9ac02d14aa9ecaeafb47e48b9a587:/src/debug.c 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");