systemctl: fix broken vertical lines in list-dependencies --all (#5608)

This commit is contained in:
Felix Zhang
2017-03-20 11:27:39 +01:00
committed by Martin Pitt
parent 7c1ebe99b6
commit 6070504015
+1
View 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;