From 37a337bceca1c4730753ec5765a9eacb9f8a9962 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Apr 2016 15:08:08 +0200 Subject: [PATCH] throwSQLiteError(): Check for SIGINT so we don't loop forever --- src/libstore/sqlite.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/sqlite.cc b/src/libstore/sqlite.cc index 0f1bb4947..77fbedd11 100644 --- a/src/libstore/sqlite.cc +++ b/src/libstore/sqlite.cc @@ -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;