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:
b119fac
)
systemctl: fix indentation in output of "systemcl status" if there are multiple drop...
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Feb 2018 11:31:30 +0000
(12:31 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 13 Apr 2018 09:34:48 +0000
(11:34 +0200)
We were a few whitespace off. Let's fix that.
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index
079d571
..
388eee4
100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-4021,8
+4021,9
@@
static void print_status_info(
char ** dropin;
STRV_FOREACH(dropin, i->dropin_paths) {
- if (! dir || last) {
- printf(dir ? " " : " Drop-In: ");
+ if (!dir || last) {
+ printf(dir ? " " :
+ " Drop-In: ");
dir = mfree(dir);
@@
-4032,7
+4033,8
@@
static void print_status_info(
return;
}
- printf("%s\n %s", dir,
+ printf("%s\n"
+ " %s", dir,
special_glyph(TREE_RIGHT));
}