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: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8aec53fb902563208f27a4452cec52190e901f32;hp=5f86ae43857e39e2bf5701449502f39d66d80c7c polkit: spawn agent in --fallback mode --- diff --git a/TODO b/TODO index 2e20fd46e..fa0905657 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 fd7258841..fcb3722dd 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]);