* Make --verify more interruptable.

This commit is contained in:
Eelco Dolstra 2007-05-01 13:21:05 +00:00
parent bd1f66453a
commit 644946feed

View file

@ -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);