From f6251c0d0af92331388f5e9bcd1750cbadcaca8f Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 16 Dec 2011 09:07:56 +0900 Subject: 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). --- agent/call-pinentry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'agent/call-pinentry.c') diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c index d0cfd2b79..36093bb8b 100644 --- a/agent/call-pinentry.c +++ b/agent/call-pinentry.c @@ -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. */ -- cgit v1.2.3