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