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;
|
||||
case ERANGE:
|
||||
/* hash mismatch don't delete it */
|
||||
rv = 0;
|
||||
continue;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user