diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-02T00·21+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-02T00·21+0200 |
commit | 7106bb061149c70c30fb56aaa3530e5f9218ef92 (patch) | |
tree | d006b865ec2b98bfd786507d957429bbdb536bf2 /src | |
parent | b755752f7666441e710bee9f0c21f233808874c7 (diff) |
Use StoreAPI::verifyStore()
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-store/nix-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index ff15875e7090..23b97ca9e5aa 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -768,7 +768,7 @@ static void opVerify(Strings opFlags, Strings opArgs) else if (*i == "--repair") repair = true; else throw UsageError(format("unknown flag ‘%1%’") % *i); - if (ensureLocalStore().verifyStore(checkContents, repair)) { + if (store->verifyStore(checkContents, repair)) { printMsg(lvlError, "warning: not all errors were fixed"); throw Exit(1); } |