From: Mike Yuan Date: Fri, 13 Jan 2023 08:15:32 +0000 (+0800) Subject: systemctl: list-dependencies: pass bool where appropriate X-Git-Tag: v253-rc1~102^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e481bd29258274b4d92737d4b11636eabfffcb5;p=thirdparty%2Fsystemd.git systemctl: list-dependencies: pass bool where appropriate --- 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; }