summaryrefslogtreecommitdiffstats
path: root/src/systemctl
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-08-16 12:33:41 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-08-19 04:36:32 +0200
commitf3cf6167efd12a59bb8204ee28f9f991e6b70877 (patch)
treeded5a57e50950980c2208a18247ce17ed11e10a8 /src/systemctl
parenttimedatectl: enable interactive authentication for DBus methods (diff)
downloadsystemd-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.c2
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) {