systemctl: fix formatting of circular dep.

Before:
a.target
○ └─b.target
    └─...
●   └─paths.target

After:
a.target
○ └─b.target
    ├─...
●   └─paths.target
This commit is contained in:
David Tardon
2023-03-17 10:09:07 +01:00
parent a9f2f486f3
commit 5a4711e489
+1 -1
View File
@@ -86,7 +86,7 @@ static int list_dependencies_one(
if (strv_contains(*units, *c)) {
if (!arg_plain) {
printf(" ");
r = list_dependencies_print("...", level, branches, /* last = */ true);
r = list_dependencies_print("...", level, branches, /* last = */ c[1] == NULL);
if (r < 0)
return r;
}