Merge pull request #2505 from lucab/ups/bsdiff-error-throw

lib/static-delta: throw a proper error on bspatch failure
This commit is contained in:
Colin Walters authored and GitHub committed 2022-01-03 16:57:52 -05:00
commit 4d47733f98
1 file changed
+1 -1
@@ -456,7 +456,7 @@ dispatch_bspatch (OstreeRepo *repo,
buf,
state->content_size,
&stream) < 0)
return FALSE;
return glnx_throw (error, "bsdiff patch failed");
if (!_ostree_repo_bare_content_write (repo, &state->content_out,
buf, state->content_size,