Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Ignore failures when extracting mtree
Baptiste Daroussin committed 13 years ago
commit 7df0bab5bf03e2f9d7b6ae5d2df8d137d2d509a2
parent 3be44d5
1 file changed +2 -6
modified libpkg/pkg_add.c
@@ -137,12 +137,8 @@ do_extract_mtree(char *mtree, const char *prefix)
			archive_entry_set_pathname(ae, path);
		}

-
		if (archive_read_extract(a, ae, EXTRACT_ARCHIVE_FLAGS) != ARCHIVE_OK) {
-
			pkg_emit_error("Fail to extract some of the mtree entries: %s",
-
			    archive_error_string(a));
-
			retcode = EPKG_FATAL;
-
			break;
-
		}
+
		/* Ignored failed extraction on purpose */
+
		archive_read_extract(a, ae, EXTRACT_ARCHIVE_FLAGS);
	}

cleanup: