aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-14 11:55:54 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-14 11:55:54 +0200
commit926c3a6664a9dfb288ca35af8aae40c4e4a2badb (patch)
tree7c8405e63be37736d0f2ab85d480aa148737ea5e
parent43b8e96d30fa2b4e5f2f5144dc905c2d944a4e15 (diff)
Doh
-rw-r--r--src/libstore/store-api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index 5554befa4..5b9f79049 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -413,7 +413,7 @@ void Store::queryPathInfo(const StorePath & storePath,
auto storePath = parseStorePath(storePathS);
- if (!info || !goodStorePath(storePath, info->path)); {
+ if (!info || !goodStorePath(storePath, info->path)) {
stats.narInfoMissing++;
throw InvalidPath("path '%s' is not valid", storePathS);
}