throwSQLiteError(): Check for SIGINT so we don't loop forever
This commit is contained in:
parent
6e120b76ee
commit
37a337bcec
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ namespace nix {
|
|||
}
|
||||
/* Sleep for a while since retrying the transaction right away
|
||||
is likely to fail again. */
|
||||
checkInterrupt();
|
||||
#if HAVE_NANOSLEEP
|
||||
struct timespec t;
|
||||
t.tv_sec = 0;
|
||||
|
|
Loading…
Reference in a new issue