]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
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 b5d3ce54c902b26b2e5ab99debe921605effe341..5f8f9645488d585de6b5d65f3f12a3fb6cb96cbe 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);
   }