lib/transaction_files.c: fix returning error on hash mismatch
This commit is contained in:
parent
00cda75a63
commit
d72091a206
@ -331,6 +331,7 @@ collect_obsoletes(struct xbps_handle *xhp)
|
|||||||
continue;
|
continue;
|
||||||
case ERANGE:
|
case ERANGE:
|
||||||
/* hash mismatch don't delete it */
|
/* hash mismatch don't delete it */
|
||||||
|
rv = 0;
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user