]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
polkit: fix the ordering of a log message
authorNick Rosbrook <enr0n@ubuntu.com>
Thu, 20 Mar 2025 11:07:08 +0000 (07:07 -0400)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 8 Apr 2025 19:52:11 +0000 (20:52 +0100)
(cherry picked from commit 94a5969b31a5556ee7bc11d0e9ae337de5a6ff42)
(cherry picked from commit f09ccc2eb4edba77021f6c980e29143a8b7433ba)

src/shared/bus-polkit.c

index 58cffb64ed3afd6d9085218cb52e34581f3580ba..d5662b7abcf9164673c6c7994b3b46ced9437412 100644 (file)
@@ -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 {