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