# # # patch "automate.cc" # from [881288755ce94308be92ab8c9e73491640b6a4d2] # to [df936f5d7198e8ac36304a0676e742c06adfd3ed] # ============================================================ --- automate.cc 881288755ce94308be92ab8c9e73491640b6a4d2 +++ automate.cc df936f5d7198e8ac36304a0676e742c06adfd3ed @@ -2302,7 +2302,9 @@ CMD_AUTOMATE(lua, "LUA_FUNCTION [ARG1 [A N(app.lua.hook_hook_wrapper(func, func_args, out), F("lua call '%s' failed") % func); - output << out << '\n'; + // the output already contains a trailing newline, so we don't add + // another one here + output << out; } // Local Variables: