Lua debugger: reply +OK to SCRIPT DEBUG no.

Thanks to Itamar Haber for reporting.
This commit is contained in:
antirez
2015-11-19 22:43:31 +01:00
parent c912df9afb
commit c62b66fd5b
+1
View File
@@ -1465,6 +1465,7 @@ void scriptCommand(client *c) {
}
if (!strcasecmp(c->argv[2]->ptr,"no")) {
ldbDisable(c);
addReply(c,shared.ok);
} else if (!strcasecmp(c->argv[2]->ptr,"yes")) {
ldbEnable(c);
addReply(c,shared.ok);