From 8e481bd29258274b4d92737d4b11636eabfffcb5 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Fri, 13 Jan 2023 16:15:32 +0800 Subject: [PATCH] systemctl: list-dependencies: pass bool where appropriate --- src/systemctl/systemctl-list-dependencies.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl-list-dependencies.c b/src/systemctl/systemctl-list-dependencies.c index 86d1c5b7c29..91b8ac6bff2 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; } -- 2.47.3