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:
commit
4d47733f98
|
|
@ -456,7 +456,7 @@ dispatch_bspatch (OstreeRepo *repo,
|
||||||
buf,
|
buf,
|
||||||
state->content_size,
|
state->content_size,
|
||||||
&stream) < 0)
|
&stream) < 0)
|
||||||
return FALSE;
|
return glnx_throw (error, "bsdiff patch failed");
|
||||||
|
|
||||||
if (!_ostree_repo_bare_content_write (repo, &state->content_out,
|
if (!_ostree_repo_bare_content_write (repo, &state->content_out,
|
||||||
buf, state->content_size,
|
buf, state->content_size,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue