From: Daniel Mack Date: Fri, 24 Apr 2015 19:50:36 +0000 (+0200) Subject: systemctl: kill newline characters from log_error_errno() calls X-Git-Tag: v220~286 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3a2a05329676098faa07529f369a19ed8710723;p=thirdparty%2Fsystemd.git systemctl: kill newline characters from log_error_errno() calls log_error_errno() already adds a newline, so drop them. --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 12126737fcc..eb9737d5773 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -7290,7 +7290,7 @@ static int halt_main(sd_bus *bus) { r = sd_bus_open_system(&b); if (r < 0) - return log_error_errno(r, "Unable to open system bus: %m\n"); + return log_error_errno(r, "Unable to open system bus: %m"); m = strv_join(arg_wall, " "); if (!m) @@ -7467,7 +7467,7 @@ int main(int argc, char*argv[]) { r = sd_bus_open_system(&b); if (r < 0) - return log_error_errno(r, "Unable to open system bus: %m\n"); + return log_error_errno(r, "Unable to open system bus: %m"); if (arg_wall) { m = strv_join(arg_wall, " ");