Add missing return on -UNKILLABLE sent by master case (#12277)
We now no longer propagate scripts (started from 7.0), so this is a very rare issue that in nearly-dead-code. This is an overlook in #9780
This commit is contained in:
parent
e7a3d3d152
commit
e4d183afd3
@ -292,6 +292,7 @@ void scriptKill(client *c, int is_eval) {
|
||||
if (mustObeyClient(curr_run_ctx->original_client)) {
|
||||
addReplyError(c,
|
||||
"-UNKILLABLE The busy script was sent by a master instance in the context of replication and cannot be killed.");
|
||||
return;
|
||||
}
|
||||
if (curr_run_ctx->flags & SCRIPT_WRITE_DIRTY) {
|
||||
addReplyError(c,
|
||||
|
Loading…
x
Reference in New Issue
Block a user