diff --git a/src/debug.c b/src/debug.c index f95aaba0d..de6e8c13a 100644 --- a/src/debug.c +++ b/src/debug.c @@ -1569,7 +1569,7 @@ void logCurrentClient(void) { } /* Check if the first argument, usually a key, is found inside the * selected DB, and if so print info about the associated object. */ - if (cc->argc >= 1) { + if (cc->argc > 1) { robj *val, *key; dictEntry *de;