summaryrefslogtreecommitdiff
path: root/apexd/apex_manifest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apexd/apex_manifest.cpp')
-rw-r--r--apexd/apex_manifest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apexd/apex_manifest.cpp b/apexd/apex_manifest.cpp
index 76b484b..af3bfb8 100644
--- a/apexd/apex_manifest.cpp
+++ b/apexd/apex_manifest.cpp
@@ -52,7 +52,7 @@ Result<ApexManifest> ParseManifestJson(const std::string& content) {
ApexManifest apex_manifest;
Result<void> parse_manifest_status =
JsonToApexManifestMessage(content, &apex_manifest);
- if (!parse_manifest_status) {
+ if (!parse_manifest_status.ok()) {
return parse_manifest_status.error();
}