summaryrefslogtreecommitdiffstats
path: root/src/import/importctl.c
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/import/importctl.c
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/import/importctl.c')
-rw-r--r--src/import/importctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/importctl.c b/src/import/importctl.c
index 30566a1917..27c26a70e8 100644
--- a/src/import/importctl.c
+++ b/src/import/importctl.c
@@ -179,7 +179,7 @@ static int transfer_image_common(sd_bus *bus, sd_bus_message *m) {
assert(bus);
assert(m);
- polkit_agent_open_if_enabled(arg_transport, arg_ask_password);
+ (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password);
r = sd_event_default(&event);
if (r < 0)
@@ -867,7 +867,7 @@ static int cancel_transfer(int argc, char *argv[], void *userdata) {
sd_bus *bus = ASSERT_PTR(userdata);
int r;
- polkit_agent_open_if_enabled(arg_transport, arg_ask_password);
+ (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password);
for (int i = 1; i < argc; i++) {
uint32_t id;