summaryrefslogtreecommitdiff
path: root/redis.c
diff options
context:
space:
mode:
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.c b/redis.c
index 28e1c64f7..8b3f3be24 100644
--- a/redis.c
+++ b/redis.c
@@ -2860,7 +2860,7 @@ static void lremCommand(redisClient *c) {
o = lookupKeyWrite(c->db,c->argv[1]);
if (o == NULL) {
- addReply(c,shared.nokeyerr);
+ addReply(c,shared.czero);
} else {
if (o->type != REDIS_LIST) {
addReply(c,shared.wrongtypeerr);