* Make --verify more interruptable.
This commit is contained in:
parent
bd1f66453a
commit
644946feed
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue