aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-07 14:00:00 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-07 14:00:00 +0000
commit0b166c0c6541bce391839a3b4df2ca187ed66046 (patch)
tree66ff11a9f36a2227907ddaf2619c5303d621c219
parentd9879cd7848a147c0b3056336cb982bbc9a1e247 (diff)
downloadrspamd-0b166c0c6541bce391839a3b4df2ca187ed66046.tar.gz
rspamd-0b166c0c6541bce391839a3b4df2ca187ed66046.zip
Fix error message
-rw-r--r--src/libserver/cfg_rcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 305b26eee..79d9c9e0e 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -790,7 +790,7 @@ rspamd_rcl_lua_handler (rspamd_mempool_t *pool, const ucl_object_t *obj,
}
else {
g_set_error (err, CFG_RCL_ERROR, ENOENT, "cannot chdir to %s: %s",
- lua_src, strerror (errno));
+ lua_dir, strerror (errno));
if (chdir (cur_dir) == -1) {
msg_err_config ("cannot chdir to %s: %s", cur_dir, strerror (errno));
}