diff --git a/src/scripting.c b/src/scripting.c index 11ed4c616ece580c3c2df1bdb431c3a4ed48b794..a794f34fff7552902a667fc8b56e7eb2934078ec 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -1048,7 +1048,7 @@ void scriptCommand(redisClient *c) { } addReplyBulkCBuffer(c,funcname+2,40); sdsfree(sha); - forceCommandPropagation(c,REDIS_PROPAGATE_REPL); + forceCommandPropagation(c,REDIS_PROPAGATE_REPL|REDIS_PROPAGATE_AOF); } else if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"kill")) { if (server.lua_caller == NULL) { addReplySds(c,sdsnew("-NOTBUSY No scripts in execution right now.\r\n"));