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 6a4c968f9857a441b72c1850eb812f479f60d78e..e445b50ab881cc2b14cffb5ce98dd1aaa2ae9127 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));
                         }