diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-16 12:33:41 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-19 04:36:32 +0200 |
commit | f3cf6167efd12a59bb8204ee28f9f991e6b70877 (patch) | |
tree | ded5a57e50950980c2208a18247ce17ed11e10a8 /src/systemctl | |
parent | timedatectl: enable interactive authentication for DBus methods (diff) | |
download | systemd-f3cf6167efd12a59bb8204ee28f9f991e6b70877.tar.xz systemd-f3cf6167efd12a59bb8204ee28f9f991e6b70877.zip |
tree-wide: voidify polkit_agent_open_if_enabled()
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-util.c b/src/systemctl/systemctl-util.c index a3101911cd..f00b2d0022 100644 --- a/src/systemctl/systemctl-util.c +++ b/src/systemctl/systemctl-util.c @@ -86,7 +86,7 @@ void polkit_agent_open_maybe(void) { if (arg_runtime_scope != RUNTIME_SCOPE_SYSTEM) return; - polkit_agent_open_if_enabled(arg_transport, arg_ask_password); + (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); } int translate_bus_error_to_exit_status(int r, const sd_bus_error *error) { |