Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Fix return value from HTTP 400s. #929

Merged
merged 1 commit into from
Aug 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sota_tools/ostree_http_repo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down