mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
systemctl: list-dependencies: pass bool where appropriate
(cherry picked from commit 8e481bd292
)
This commit is contained in:
parent
48abbdda56
commit
e913b51c5b
@ -83,7 +83,7 @@ static int list_dependencies_one(
|
||||
if (strv_contains(*units, *c)) {
|
||||
if (!arg_plain) {
|
||||
printf(" ");
|
||||
r = list_dependencies_print("...", level + 1, (branches << 1) | (c[1] == NULL ? 0 : 1), 1);
|
||||
r = list_dependencies_print("...", level + 1, (branches << 1) | (c[1] == NULL ? 0 : 1), /* last = */ true);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user