Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Properly initial a return code before testing it
Baptiste Daroussin committed 11 years ago
commit 32824d7cbcfeec06b81c79804cc59d34b4b45f27
parent 9920a37
1 file changed +1 -1
modified libpkg/pkg_repo.c
@@ -644,7 +644,7 @@ pkg_repo_archive_extract_check_archive(int fd, const char *file,
{
	struct sig_cert *sc = NULL, *s, *stmp;

-
	int ret, rc = EPKG_OK;
+
	int ret = rc = EPKG_OK;

	if (pkg_repo_archive_extract_archive(fd, file, dest, repo, dest_fd, &sc)
			!= EPKG_OK)