There is no LF characters printed at the end of the error message
returned by the function when applying server state found in a file.
}
out:
- if (msg->len)
+ if (msg->len) {
+ chunk_appendf(msg, "\n");
Warning("server-state application failed for server '%s/%s'%s",
srv->proxy->id, srv->id, msg->str);
+ }
}
/* This function parses all the proxies and only take care of the backends (since we're looking for server)