Fix legacy prctl check condition (#2864)

This commit is contained in:
Wang Han
2025-11-05 14:48:33 +08:00
committed by ShirkNeko
parent 0400b94674
commit 99bec0e439
3 changed files with 3 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ bool is_manager() {
return (info.flags & 0x2) != 0;
}
// Legacy Compatible
return legacy_get_info().version;
return legacy_get_info().version > 0;
}
bool uid_should_umount(int uid) {