diff options
Diffstat (limited to 'src/rspamadm/lua_repl.c')
-rw-r--r-- | src/rspamadm/lua_repl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index 70ce06cd2..c1925f0b4 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -385,7 +385,9 @@ rspamadm_lua_exec_handler (lua_State *L, gint argc, gchar **argv) return; } - lua_repl_thread_call (thread, 0, argv[i], lua_thread_str_error_cb); + if (lua_repl_thread_call (thread, 0, argv[i], lua_thread_str_error_cb) != 0) { + return; + } } } |