lib/transaction_files.c: fix returning error on hash mismatch

This commit is contained in:
Duncaen 2019-06-26 13:07:16 +02:00
parent 00cda75a63
commit d72091a206

View File

@ -331,6 +331,7 @@ collect_obsoletes(struct xbps_handle *xhp)
continue;
case ERANGE:
/* hash mismatch don't delete it */
rv = 0;
continue;
default:
break;