xbps_transaction_commit: reset var value if binpkg/signature was downloaded successfully.
This commit is contained in:
parent
4d38311fbe
commit
1ad01b952a
@ -160,6 +160,7 @@ download_binpkgs(struct xbps_handle *xhp, xbps_object_iterator_t iter)
|
||||
free(file);
|
||||
break;
|
||||
}
|
||||
rv = 0;
|
||||
}
|
||||
/*
|
||||
* Download binary package signature.
|
||||
@ -181,6 +182,7 @@ download_binpkgs(struct xbps_handle *xhp, xbps_object_iterator_t iter)
|
||||
free(file);
|
||||
break;
|
||||
}
|
||||
rv = 0;
|
||||
}
|
||||
free(sigfile);
|
||||
if (file != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user