On a Sunday in 2021, Martin Kletzander wrote:
With this function we can decide whether to try running the polkit
text agent
only if it is available, removing a potential needless error saying that the
agent binary does not exist, which is useful especially when running the agent
before knowing whether it is going to be needed.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/libvirt_private.syms | 1 +
src/util/virpolkit.c | 44 ++++++++++++++++++++++++++++++++++++++++
src/util/virpolkit.h | 1 +
3 files changed, 46 insertions(+)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano