diff options
Diffstat (limited to 'cmake/modules/generate_crypto_test_wrapper.cmake')
-rw-r--r-- | cmake/modules/generate_crypto_test_wrapper.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/modules/generate_crypto_test_wrapper.cmake b/cmake/modules/generate_crypto_test_wrapper.cmake index e1412f37..836662c3 100644 --- a/cmake/modules/generate_crypto_test_wrapper.cmake +++ b/cmake/modules/generate_crypto_test_wrapper.cmake | |||
@@ -21,6 +21,11 @@ if [ ! -z \"\$_pid\" ]; then | |||
21 | echo \"Waiting for gpg-agent to terminate (PID: $_pid)...\" | 21 | echo \"Waiting for gpg-agent to terminate (PID: $_pid)...\" |
22 | while kill -0 \"\$_pid\"; do | 22 | while kill -0 \"\$_pid\"; do |
23 | sleep 1 | 23 | sleep 1 |
24 | output=`ps -p \"\$_pid\" | grep \"gpg-agent\" | grep \"defunc\"` | ||
25 | if [ ! -z \"\$output\" ]; then | ||
26 | echo \"Process is defunc, moving on\" | ||
27 | break | ||
28 | fi | ||
24 | done | 29 | done |
25 | fi | 30 | fi |
26 | exit \$_result | 31 | exit \$_result |