]> 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)
committerNick Rosbrook <enr0n@ubuntu.com>
Tue, 25 Mar 2025 20:15:34 +0000 (16:15 -0400)
src/shared/bus-polkit.c

index df3f28c29258884109ded5f7b4fa55340e6ddc84..2e275f9da27799d76305dae48d51d8bf58b1f6ca 100644 (file)
@@ -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 {