about summary refs log tree commit diff
path: root/src/normalise.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normalise.cc')
-rw-r--r--src/normalise.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normalise.cc b/src/normalise.cc
index d06c8bf3608d..8da940aa67ce 100644
--- a/src/normalise.cc
+++ b/src/normalise.cc
@@ -273,7 +273,7 @@ FSIds findGenerators(const FSIds & _ids)
          i != sucs.end(); i++)
     {
         string s;
-        queryDB(nixDB, dbSuccessors, *i, s);
+        if (!queryDB(nixDB, dbSuccessors, *i, s)) continue;
         FSId id = parseHash(s);
 
         FState fs;