projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4f6cf
)
Remove blank line in the output of “systemctl show” (#3614)
author
Lénaïc Huard
<L3n41c@users.noreply.github.com>
Tue, 28 Jun 2016 18:15:33 +0000
(20:15 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 28 Jun 2016 18:15:33 +0000
(20:15 +0200)
“systemctl show” added an extra blank line after the dump of the
EnvironmentFile property of the unit.
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index
c0b285b
..
e56b9b8
100644
(file)
--- 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);