summaryrefslogtreecommitdiffstats
path: root/src/shared/polkit-agent.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-12-01 09:43:31 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-12-12 00:35:16 +0100
commit46c26454bd061c6ebda0fd40317018c08b32c7fd (patch)
treea16b8e3f003d2cd2e12a0cb569971dcb1ea2da13 /src/shared/polkit-agent.c
parentexec-util: use open_terminal() in fork_agent() for safety (diff)
downloadsystemd-46c26454bd061c6ebda0fd40317018c08b32c7fd.tar.xz
systemd-46c26454bd061c6ebda0fd40317018c08b32c7fd.zip
exec-util: use strv_from_stdarg_alloca()
No functional change, just refactoring.
Diffstat (limited to '')
-rw-r--r--src/shared/polkit-agent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/polkit-agent.c b/src/shared/polkit-agent.c
index ce1212e15e..a652b465b9 100644
--- a/src/shared/polkit-agent.c
+++ b/src/shared/polkit-agent.c
@@ -45,7 +45,6 @@ int polkit_agent_open(void) {
1,
&agent_pid,
POLKIT_AGENT_BINARY_PATH,
- POLKIT_AGENT_BINARY_PATH,
"--notify-fd", notify_fd,
"--fallback");
if (r < 0)