1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 18:55:09 +03:00

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

This commit is contained in:
Felix Zhang 2017-03-20 18:27:39 +08:00 committed by Martin Pitt
parent 7c1ebe99b6
commit 6070504015

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;