lua plugin: remove line feed in error message
authorPavel Rochnyack <pavel2000@ngs.ru>
Wed, 1 May 2019 13:27:01 +0000 (20:27 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Wed, 1 May 2019 13:27:01 +0000 (20:27 +0700)
src/lua.c

index b5d3ce5..5f8f964 100644 (file)
--- a/src/lua.c
+++ b/src/lua.c
@@ -469,7 +469,7 @@ static int lua_script_load(const char *script_path) /* {{{ */
             "In addition, no error message could be retrieved from the stack.",
             status);
     else
-      ERROR("Lua plugin: Executing script \"%s\" failed:\n%s",
+      ERROR("Lua plugin: Executing script \"%s\" failed: %s",
             script_path, errmsg);
   }