chiark / gitweb /
logind: add support for automatic suspend/hibernate/shutdown on idle
[elogind.git] / src / shared / spawn-polkit-agent.c
index fd72588417180352d0f1ef16f360fe87747af1d0..fcb3722ddf90e4f99aaaa49a7db3287e185b15ff 100644 (file)
@@ -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]);