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: v256.13~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21170e7832aeac2cf57ebb51fea3f42181cf9149;p=thirdparty%2Fsystemd.git polkit: fix the ordering of a log message (cherry picked from commit 94a5969b31a5556ee7bc11d0e9ae337de5a6ff42) (cherry picked from commit f09ccc2eb4edba77021f6c980e29143a8b7433ba) --- diff --git a/src/shared/bus-polkit.c b/src/shared/bus-polkit.c index 58cffb64ed3..d5662b7abcf 100644 --- a/src/shared/bus-polkit.c +++ b/src/shared/bus-polkit.c @@ -314,7 +314,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 {