From: Lennart Poettering Date: Fri, 13 Apr 2012 19:52:25 +0000 (+0200) Subject: polkit: spawn agent in --fallback mode X-Git-Tag: v183~310 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aec53fb902563208f27a4452cec52190e901f32;p=systemd polkit: spawn agent in --fallback mode --- diff --git a/TODO b/TODO index 2e20fd46..fa090565 100644 --- a/TODO +++ b/TODO @@ -21,8 +21,6 @@ Features: * place start-pre/start-post/... scripts in sub cgrouprs -* Make RuntimeWatchdogUSec= property writable - * make gtk-doc optional (like kmod?) * udev: find a way to tell udev to not cancel firmware requests in initramfs diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c index fd725884..fcb3722d 100644 --- a/src/shared/spawn-polkit-agent.c +++ b/src/shared/spawn-polkit-agent.c @@ -57,7 +57,7 @@ int polkit_agent_open(void) { r = fork_agent(&agent_pid, &pipe_fd[1], 1, POLKIT_AGENT_BINARY_PATH, - POLKIT_AGENT_BINARY_PATH, "--notify-fd", notify_fd, NULL); + POLKIT_AGENT_BINARY_PATH, "--notify-fd", notify_fd, "--fallback", NULL); /* Close the writing side, because that's the one for the agent */ close_nointr_nofail(pipe_fd[1]);