diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-09-27 17:21:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-09-29 21:56:27 +0200 |
commit | 4d047853da76dc5fa5dd50ecb750c861342ef47b (patch) | |
tree | cbb7ddfeff8bbe02265a4ee85528d26bff2737fb /gnu/services/mail.scm | |
parent | 1edb7c7eec88904afae49b6b399ff23bbb4d2a28 (diff) | |
download | guix-4d047853da76dc5fa5dd50ecb750c861342ef47b.tar.gz |
secret-service: Add a timeout when waiting for a client.
* gnu/build/secret-service.scm (secret-service-receive-secrets) [wait-for-client]: Call 'select' with a 60s timeout before 'accept'. Return #f upon timeout. [read-secrets]: Return FILES on success. Adjust caller of 'wait-for-client' to handle #f.
Diffstat (limited to 'gnu/services/mail.scm')
0 files changed, 0 insertions, 0 deletions