1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-16 00:29:50 +02:00

tests: Fix for wait #f and return timeout.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2022-12-08 19:36:19 +09:00
parent e89d2f5a77
commit a3df10c2b0
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -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);
}