about summary refs log tree commit diff
path: root/src/nix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix.cc')
-rw-r--r--src/nix.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix.cc b/src/nix.cc
index 68d01f2f87a3..42cc4a87c228 100644
--- a/src/nix.cc
+++ b/src/nix.cc
@@ -335,6 +335,8 @@ static void opVerify(Strings opFlags, Strings opArgs)
    list. */
 void run(Strings args)
 {
+    openDB();
+
     Strings opFlags, opArgs;
     Operation op = 0;