mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
tests: Fix for wait #f and return timeout.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
e89d2f5a77
commit
a3df10c2b0
1 changed files with 2 additions and 0 deletions
|
@ -943,6 +943,8 @@ do_process_wait (scheme *sc, pointer args)
|
|||
err = gnupg_process_wait (box->proc, hang);
|
||||
if (!err)
|
||||
err = gnupg_process_ctl (box->proc, GNUPG_PROCESS_GET_EXIT_ID, &retcode);
|
||||
if (err == GPG_ERR_TIMEOUT)
|
||||
err = 0;
|
||||
|
||||
FFI_RETURN_INT (sc, retcode);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue