diff --git a/cmd.c b/cmd.c index 18fca1e1..fe51627a 100644 --- a/cmd.c +++ b/cmd.c @@ -228,7 +228,7 @@ cmd_run(struct worker *w, struct http_client *client, } /* no args (e.g. INFO command) */ - if(!slash) { + if(cmd->count==1) { if(!cmd->ac) { cmd_free(cmd); return CMD_REDIS_UNAVAIL;