mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
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:
parent
a98260c39f
commit
f6251c0d0a
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user