diff options
author | Mike Yuan <me@yhndnzj.com> | 2023-01-13 16:15:32 +0800 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-01-13 16:15:32 +0800 |
commit | 8e481bd29258274b4d92737d4b11636eabfffcb5 (patch) | |
tree | 3fe6d969bcf9415af927ea56a07cf43c24e40e7d /src | |
parent | d59ce37c280bb1bcd8787c2b77b54d8fe69bf8d2 (diff) | |
download | systemd-8e481bd29258274b4d92737d4b11636eabfffcb5.tar.gz |
systemctl: list-dependencies: pass bool where appropriate
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl-list-dependencies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-list-dependencies.c b/src/systemctl/systemctl-list-dependencies.c index 86d1c5b7c2..91b8ac6bff 100644 --- a/src/systemctl/systemctl-list-dependencies.c +++ b/src/systemctl/systemctl-list-dependencies.c @@ -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; } |