Index: policykit-1-0.94/src/polkitagent/polkitagentsession.c =================================================================== --- policykit-1-0.94.orig/src/polkitagent/polkitagentsession.c 2009-10-12 22:04:34.000000000 +0100 +++ policykit-1-0.94/src/polkitagent/polkitagentsession.c 2009-10-12 22:04:41.000000000 +0100 @@ -514,14 +514,14 @@ goto error; } - session->child_watch_id = g_child_watch_add (session->child_pid, child_watch_func, session); - session->child_stdout_channel = g_io_channel_unix_new (session->child_stdout); - session->child_stdout_watch_id = g_io_add_watch (session->child_stdout_channel, G_IO_IN, io_watch_have_data, session); - session->success = FALSE; session->helper_is_running = TRUE; + session->child_watch_id = g_child_watch_add (session->child_pid, child_watch_func, session); + session->child_stdout_channel = g_io_channel_unix_new (session->child_stdout); + session->child_stdout_watch_id = g_io_add_watch (session->child_stdout_channel, G_IO_IN, io_watch_have_data, session); + return; error: