Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix bad compression level
Baptiste Daroussin committed 5 years ago
commit 71a4890162f7fe4b47247dc110c452667569f7e3
parent 5bc18e3
1 file changed +2 -2
modified libpkg/packing.c
@@ -393,10 +393,10 @@ packing_set_format(struct archive *a, pkg_formats format, int clevel)
	default:
		return (NULL);
	}
-
	if (clevel == -1)
-
		clevel = 0;

out:
+
	if (clevel == -1)
+
		clevel = 0;
	/*
	 * N.B., we only want to whine about this if the user actually selected
	 * tar and specified a compress level.  If we had to fallback to tar,