]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: fix broken vertical lines in list-dependencies --all (#5608)
authorFelix Zhang <fezhang@suse.com>
Mon, 20 Mar 2017 10:27:39 +0000 (18:27 +0800)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Mon, 20 Mar 2017 10:27:39 +0000 (11:27 +0100)
src/systemctl/systemctl.c

index d78e56d777e1e9abb9cd37207a33354a109df39b..cb9ca9ae1ea116d4afdb979ef5614b7c82e71430 100644 (file)
@@ -1780,6 +1780,7 @@ static int list_dependencies_one(
         STRV_FOREACH(c, deps) {
                 if (strv_contains(*units, *c)) {
                         if (!arg_plain) {
+                                printf("  ");
                                 r = list_dependencies_print("...", level + 1, (branches << 1) | (c[1] == NULL ? 0 : 1), 1);
                                 if (r < 0)
                                         return r;