1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

homectl: drop unnecessary brackets

Follow-up for 164ca24d74.
This commit is contained in:
Yu Watanabe 2024-10-07 13:45:46 +09:00 committed by Lennart Poettering
parent ec846d9db3
commit dd9a02ce88

View File

@ -2438,7 +2438,7 @@ static int acquire_group_list(char ***ret) {
log_debug_errno(r, "No groups found.");
else if (r < 0)
return log_debug_errno(r, "Failed to enumerate groups, ignoring: %m");
else {
else
for (;;) {
_cleanup_(group_record_unrefp) GroupRecord *gr = NULL;
@ -2468,7 +2468,6 @@ static int acquire_group_list(char ***ret) {
if (r < 0)
return log_oom();
}
}
strv_sort(groups);