From be07620a6021b7bd448bca02a68961516ab4ef9a Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 28 May 2015 07:02:12 +0200 Subject: [PATCH] output-lua: sync variable name with yaml 'script-dir' was used in the code but we had 'scripts-dir' in the configuration file. This patch fixes it to 'scripts-dir'. --- src/output-lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output-lua.c b/src/output-lua.c index 7f7514eef4..fc075cd314 100644 --- a/src/output-lua.c +++ b/src/output-lua.c @@ -692,7 +692,7 @@ static void LogLuaMasterFree(OutputCtx *oc) { */ static OutputCtx *OutputLuaLogInit(ConfNode *conf) { - const char *dir = ConfNodeLookupChildValue(conf, "script-dir"); + const char *dir = ConfNodeLookupChildValue(conf, "scripts-dir"); if (dir == NULL) dir = "";