Skip to content

Commit

Permalink
bindings: fix return value of repodata.add_solv()
Browse files Browse the repository at this point in the history
Found by Dante Grapiuna de Almeida, thanks!
Fixes #564
  • Loading branch information
mlschroe committed May 21, 2024
1 parent 4e0b432 commit b3aa55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/solv.i
Original file line number Diff line number Diff line change
Expand Up @@ -4476,7 +4476,7 @@ rb_eval_string(
r = repo_add_solv(data->repo, fp, flags | REPO_USE_LOADING);
if (r || data->state == REPODATA_LOADING)
data->state = oldstate;
return r;
return r == 0;
}
void extend_to_repo() {
Repodata *data = repo_id2repodata($self->repo, $self->id);
Expand Down

0 comments on commit b3aa55e

Please sign in to comment.