aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/store-api.cc')
-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 3c72dc56f..0a36dcb2b 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -467,7 +467,7 @@ void Store::pathInfoToJSON(JSONPlaceholder & jsonOut, const StorePathSet & store
jsonRefs.elem(printStorePath(ref));
}
- if (info->ca != "")
+ if (info->ca)
jsonPath.attr("ca", info->ca);
std::pair<uint64_t, uint64_t> closureSizes;