mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
systemctl: fix indentation in output of "systemcl status" if there are multiple drop-in dirs
We were a few whitespace off. Let's fix that.
This commit is contained in:
parent
b119facd27
commit
eb2c3192dc
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user