summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/debug.c b/src/debug.c
index 0529e5a85..8e269df3d 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -283,11 +283,6 @@ void computeDatasetDigest(unsigned char *final) {
}
void debugCommand(client *c) {
- if (c->argc == 1) {
- addReplyError(c,"You must specify a subcommand for DEBUG. Try DEBUG HELP for info.");
- return;
- }
-
if (!strcasecmp(c->argv[1]->ptr,"help")) {
void *blenp = addDeferredMultiBulkLength(c);
int blen = 0;