X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/a5f8341245aeebd22a2474e92c4ed497eae01545..fd72fe261dc8ac1f6450dfb6197391bb530ac5a0:/src/redis.c diff --git a/src/redis.c b/src/redis.c index 2b1007b5..cb4883cc 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1599,7 +1599,7 @@ int processCommand(redisClient *c) { /* Lua script too slow? Only allow SHUTDOWN NOSAVE and SCRIPT KILL. */ if (server.lua_timedout && - !(c->cmd->proc != shutdownCommand && + !(c->cmd->proc == shutdownCommand && c->argc == 2 && tolower(((char*)c->argv[1]->ptr)[0]) == 'n') && !(c->cmd->proc == scriptCommand &&