summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/New_GPG/src/gpg_wrapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/gpg_wrapper.cpp b/plugins/New_GPG/src/gpg_wrapper.cpp
index 9f94c1dfeb..136f7928db 100755
--- a/plugins/New_GPG/src/gpg_wrapper.cpp
+++ b/plugins/New_GPG/src/gpg_wrapper.cpp
@@ -81,7 +81,8 @@ void pxEexcute_thread(gpg_execution_params *params)
params->child = c;
ios.run();
-
+ c->wait();
+
if (!params->bNoOutput) {
params->out.Append(pout.get().c_str());
params->out.Append("\n");