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:
Lennart Poettering
2018-04-13 11:34:48 +02:00
parent b119facd27
commit eb2c3192dc
+5 -3
View File
@@ -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));
}