diff --git a/src/sota_tools/ostree_http_repo.cc b/src/sota_tools/ostree_http_repo.cc index 36a62b97b3..2932275bd3 100644 --- a/src/sota_tools/ostree_http_repo.cc +++ b/src/sota_tools/ostree_http_repo.cc @@ -63,7 +63,7 @@ bool OSTreeHttpRepo::Get(const boost::filesystem::path &path) const { if (err == CURLE_HTTP_RETURNED_ERROR) { // http error (error code >= 400) // verbose mode will display the details - return true; + return false; } else if (err != CURLE_OK) { // other unexpected error char *last_url = nullptr;