diff options
author | Maciej Kalandyk <m.kalandyk@outlook.com> | 2023-11-18 01:30:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-11-26 23:34:48 +0100 |
commit | ce74e02078b4d2753bf0205fae205a1b704b15d4 (patch) | |
tree | e6c47a760e13d4abbd0401e20857219ecb040413 /gnu/packages/haskell-apps.scm | |
parent | da2dc98185526796fbfb4bc63caf9d70aead9037 (diff) |
locate: Gracefully handle busy-database error conditions.
* guix/scripts/locate.scm (SQLITE_BUSY): New variable.
(call-with-database): Catch 'sqlite-error and call ‘leave’ upon
SQLITE_BUSY.
Change-Id: Iebe76c75d45e70317bd18d2c176dcdeaf9d6964c
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/haskell-apps.scm')
0 files changed, 0 insertions, 0 deletions