Fix glibc version check in Linux installer

I'd changed it for testing, and accidentally committed it.
This commit is contained in:
Damien Elmes 2025-07-04 17:20:05 +07:00
parent 2594dcb2bb
commit cedece5cae

View file

@ -90,7 +90,7 @@ pub fn ensure_glibc_supported() -> Result<()> {
};
let (major, minor) = get_glibc_version().unwrap_or_default();
if major < 3 || (major == 2 && minor < 36) {
if major < 2 || (major == 2 && minor < 36) {
anyhow::bail!("Anki requires a modern Linux distro with glibc 2.36 or later.");
}