summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLénaïc Huard <L3n41c@users.noreply.github.com>2016-06-28 20:15:33 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-28 20:15:33 +0200
commita1abf5ea7fa1c3c3ef80937c8d349390ce3da39d (patch)
tree78c2fc9210e9e61b1576aa202c37a83f52308b5c /src
parentaa4f6cf12c474aa2c6535e4b2c434ea39c9d568c (diff)
Remove blank line in the output of “systemctl show” (#3614)
“systemctl show” added an extra blank line after the dump of the EnvironmentFile property of the unit.
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index c0b285b58f..e56b9b8957 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4367,7 +4367,7 @@ static int print_property(const char *name, sd_bus_message *m, const char *conte
return bus_log_parse_error(r);
while ((r = sd_bus_message_read(m, "(sb)", &path, &ignore)) > 0)
- print_prop("EnvironmentFile", "%s (ignore_errors=%s)\n", path, yes_no(ignore));
+ print_prop("EnvironmentFile", "%s (ignore_errors=%s)", path, yes_no(ignore));
if (r < 0)
return bus_log_parse_error(r);