Don't kill pinentry by SIGKILL but let it quit by SIGINT.

* agent/call-pinentry.c (agent_popup_message_stop): To pinentry, send
SIGINT (was: SIGKILL).
This commit is contained in:
NIIBE Yutaka 2011-12-16 09:07:56 +09:00
parent a98260c39f
commit f6251c0d0a
1 changed files with 1 additions and 2 deletions

View File

@ -1273,8 +1273,7 @@ agent_popup_message_stop (ctrl_t ctrl)
assuan_set_flag (entry_ctx, ASSUAN_NO_WAITPID, 1);
}
else if (pid > 0)
kill (pid, SIGKILL); /* Need to use SIGKILL due to bad
interaction of SIGINT with Pth. */
kill (pid, SIGINT);
#endif
/* Now wait for the thread to terminate. */