]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/bus-polkit.c
bus-polkit: don't propagate error from polkit
authorDavid Tardon <dtardon@redhat.com>
Thu, 17 Aug 2023 05:49:35 +0000 (07:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Aug 2023 10:08:32 +0000 (12:08 +0200)
commit45b1c015b0eaff65b1f34e0ba8d072939eaa3926
tree7e3ba17b8ebd920b61fb5b469e3017cde815a679
parentfab0eeb72bb5e1fdf3304cc6e01ebf5d7677c124
bus-polkit: don't propagate error from polkit

An error reply from polkit is a valid case and should not be propagated
as failure of async_polkit_callback(). It should only be saved here.
It'll be returned by bus_verify_polkit_async() later, when it's called
for the same method again.

Follow-up for #26365.
src/shared/bus-polkit.c