summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-01-13 16:15:32 +0800
committerMike Yuan <me@yhndnzj.com>2023-01-13 16:15:32 +0800
commit8e481bd29258274b4d92737d4b11636eabfffcb5 (patch)
tree3fe6d969bcf9415af927ea56a07cf43c24e40e7d /src/systemctl
parentd59ce37c280bb1bcd8787c2b77b54d8fe69bf8d2 (diff)
downloadsystemd-8e481bd29258274b4d92737d4b11636eabfffcb5.tar.gz
systemctl: list-dependencies: pass bool where appropriate
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl-list-dependencies.c2
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;
}