aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp-w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/exechelp-w32.c')
-rw-r--r--common/exechelp-w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c
index 08290e442..d1764d1f6 100644
--- a/common/exechelp-w32.c
+++ b/common/exechelp-w32.c
@@ -1209,7 +1209,7 @@ gnupg_process_release (gnupg_process_t process)
if (!process)
return;
- if (process->terminated)
+ if (!process->terminated)
{
gnupg_process_terminate (process);
gnupg_process_wait (process, 1);