From: Nick Rosbrook Date: Thu, 20 Mar 2025 11:07:08 +0000 (-0400) Subject: polkit: fix the ordering of a log message X-Git-Tag: v258-rc1~1006^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94a5969b31a5556ee7bc11d0e9ae337de5a6ff42;p=thirdparty%2Fsystemd.git polkit: fix the ordering of a log message --- diff --git a/src/shared/bus-polkit.c b/src/shared/bus-polkit.c index df3f28c2925..2e275f9da27 100644 --- a/src/shared/bus-polkit.c +++ b/src/shared/bus-polkit.c @@ -315,7 +315,7 @@ static int async_polkit_read_reply(sd_bus_message *reply, AsyncPolkitQuery *q) { log_debug("Polkit authorization for action '%s' succeeded.", a->action); LIST_PREPEND(authorized, q->authorized_actions, TAKE_PTR(a)); } else if (challenge) { - log_debug("Polkit authorization for action requires '%s' interactive authentication, which we didn't allow.", a->action); + log_debug("Polkit authorization for action '%s' requires interactive authentication, which we didn't allow.", a->action); q->error_action = TAKE_PTR(a); sd_bus_error_set_const(&q->error, SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED, "Interactive authentication required."); } else {