systemctl: list-dependencies: pass bool where appropriate

This commit is contained in:
Mike Yuan
2023-01-13 16:15:32 +08:00
parent d59ce37c28
commit 8e481bd292
+1 -1
View File
@@ -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;
}