Lua debugger: reply +OK to SCRIPT DEBUG no.

Thanks to Itamar Haber for reporting.
This commit is contained in:
antirez 2015-11-14 22:16:15 +01:00
parent 333547dab6
commit 3d24cd6bf8

View File

@ -1465,6 +1465,7 @@ void scriptCommand(client *c) {
} }
if (!strcasecmp(c->argv[2]->ptr,"no")) { if (!strcasecmp(c->argv[2]->ptr,"no")) {
ldbDisable(c); ldbDisable(c);
addReply(c,shared.ok);
} else if (!strcasecmp(c->argv[2]->ptr,"yes")) { } else if (!strcasecmp(c->argv[2]->ptr,"yes")) {
ldbEnable(c); ldbEnable(c);
addReply(c,shared.ok); addReply(c,shared.ok);