From c379621426a9a1b244320d5b331f634d9a46126d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 5 May 2026 22:08:19 +0200 Subject: [PATCH] homectl: drop redunant sort Claude points out that prompt_groups() already does the sort in every loop, including the last. --- src/home/homectl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/home/homectl.c b/src/home/homectl.c index 56e723fbfef..ce54da0d8c2 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -2734,8 +2734,6 @@ static int create_interactively(void) { return r; if (!strv_isempty(groups)) { - strv_sort_uniq(groups); - r = sd_json_variant_set_field_strv(&arg_identity_extra, "memberOf", groups); if (r < 0) return log_error_errno(r, "Failed to set memberOf field: %m"); -- 2.47.3