Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
When the OSVERSION of the new packages is greater, do not default to breaking the user's system.
Mathieu Arnold committed 5 years ago
commit 13000a1fa861d7ec2f5334e749bb861010d13419
parent ace76d1
1 file changed +1 -1
modified libpkg/utils.c
@@ -388,7 +388,7 @@ is_valid_os_version(struct pkg *pkg)
							"- running kernel: %d\n"
							"Ignore the mismatch and continue? ", pkg->name,
							fbsdver, ctx.osversion);
-
					ret = pkg_emit_query_yesno(true, query_buf);
+
					ret = pkg_emit_query_yesno(false, query_buf);
					osver_mismatch_allowed = ret;
				}