chiark / gitweb /
systemctl: tweak drop-in display
authorLennart Poettering <lennart@poettering.net>
Fri, 5 Apr 2013 18:19:54 +0000 (20:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Apr 2013 18:19:54 +0000 (20:19 +0200)
So far we didn't place spaces between the box drawing chars and the
values next to them. Let's be consistent here.

(Or to turn this around: if we really want to place a space there we
probably should do that in all our tree outputs, not just here...)

src/systemctl/systemctl.c

index 6a4c968..e445b50 100644 (file)
@@ -2349,7 +2349,7 @@ static void print_status_info(UnitStatusInfo *i) {
                                         return;
                                 }
 
-                                printf("%s\n %*s  %s ", dir, maxlen, "",
+                                printf("%s\n %*s  %s", dir, maxlen, "",
                                        draw_special_char(DRAW_TREE_RIGHT));
                         }