summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-04-24 21:50:36 +0200
committerDaniel Mack <daniel@zonque.org>2015-04-24 21:50:36 +0200
commitd3a2a05329676098faa07529f369a19ed8710723 (patch)
tree50b7ffb693a1c191f88429e920f36ca1cbd98161 /src
parentc2a23db0b91faca3795099fd4b41587bac170ff7 (diff)
systemctl: kill newline characters from log_error_errno() calls
log_error_errno() already adds a newline, so drop them.
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 12126737fc..eb9737d577 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, " ");