systemctl: fix indentation in output of "systemcl status" if there are multiple drop...
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Feb 2018 11:31:30 +0000 (12:31 +0100)
committerLennart 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

index 079d571..388eee4 100644 (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));
                         }