Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Merge pull request #1224 from andrejzverev/issue1223
Andrej Z. committed 11 years ago
commit 9ea03ff35057c122aca06fc8f2f0bb3c03e24b1a
parent 3785c12
1 file changed +1 -1
modified src/utils.c
@@ -710,7 +710,7 @@ set_jobs_summary_pkg(struct pkg_jobs *jobs,
			ret = EPKG_OK;
		}

-
		if (ret == EPKG_OK && (stat(path, &st) == -1 || pkgsize != st.st_size))
+
		if ((ret == EPKG_OK || ret == EPKG_FATAL) && (stat(path, &st) == -1 || pkgsize != st.st_size))
			/* file looks corrupted (wrong size),
					   assume a checksum mismatch will
					   occur later and the file will be