about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21T20·58+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21T20·58+0000
commit2616e6a6f3f8c39e62071cf1c22cce5be90a1d9d (patch)
tree4c79fae48e2b6bea2a375f69a33bce445649aadb
parent9f4ad99e92096981c5dc9401aa241a2314078b47 (diff)
* Check for errors.
-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;