From 94a5969b31a5556ee7bc11d0e9ae337de5a6ff42 Mon Sep 17 00:00:00 2001 From: Nick Rosbrook Date: Thu, 20 Mar 2025 07:07:08 -0400 Subject: [PATCH] polkit: fix the ordering of a log message --- src/shared/bus-polkit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/bus-polkit.c b/src/shared/bus-polkit.c index df3f28c292..2e275f9da2 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 {