summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Zhang <fezhang@suse.com>2017-03-20 18:27:39 +0800
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-03-20 11:27:39 +0100
commit60705040152c9953a200eea16fffb5fef894c613 (patch)
tree1470e192d13cb27993e15866d955401bd336ebe9 /src
parent7c1ebe99b68ef232bc50e99f2350ebf5f4e846e7 (diff)
systemctl: fix broken vertical lines in list-dependencies --all (#5608)
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index d78e56d777..cb9ca9ae1e 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -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;