Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix fetch return
Baptiste Daroussin committed 14 years ago
commit 50318176427f5d14ec464856ea71adb8408a480f
parent e75462c
1 file changed +1 -1
modified libpkg/fetch.c
@@ -39,7 +39,7 @@ pkg_fetch_file(const char *url, const char *dest, void *data, fetch_cb cb)
		if (remote == NULL) {
			--retry;
			if (retry == 0) {
-
				pkg_error_set(EPKG_FATAL, "%s", fetchLastErrString);
+
				retcode = pkg_error_set(EPKG_FATAL, "%s", fetchLastErrString);
				goto cleanup;
			}
			sleep(1);