mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
systemctl: list-dependencies: pass bool where appropriate
(cherry picked from commit 8e481bd29258274b4d92737d4b11636eabfffcb5) (cherry picked from commit e913b51c5b19865150a1cac587cf8fabd5fe9dad)
This commit is contained in:
parent
98f326dc93
commit
75755c16b8
@ -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…
x
Reference in New Issue
Block a user