mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
* Make --verify more interruptable.
This commit is contained in:
parent
bd1f66453a
commit
644946feed
1 changed files with 1 additions and 0 deletions
|
@ -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