lua plugin: remove line feed in error message
[collectd.git] / 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);
   }