From 644946feed146396c00c288337bad26428970aa4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 1 May 2007 13:21:05 +0000 Subject: [PATCH] * Make --verify more interruptable. --- src/libstore/local-store.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index cd83b8350..7b7efc84b 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -934,6 +934,7 @@ void verifyStore(bool checkContents) nixDB.enumTable(txn, dbValidPaths, paths); for (Paths::iterator i = paths.begin(); i != paths.end(); ++i) { + checkInterrupt(); if (!pathExists(*i)) { printMsg(lvlError, format("path `%1%' disappeared") % *i); invalidatePath(txn, *i);