This commit is contained in:
sxyazi 2025-02-15 23:06:05 +08:00
parent 4425e5de23
commit 10017313a5
No known key found for this signature in database

View file

@ -100,7 +100,6 @@ impl Partitions {
for (s, b) in &mut removable {
match std::fs::read(format!("/sys/block/{}/removable", s.to_string_lossy()))
.unwrap_or_default()
.as_slice()
.trim_ascii()
{
b"0" => *b = Some(false),