diff --git a/Cargo.lock b/Cargo.lock index b8c903f..60047d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -886,7 +886,7 @@ dependencies = [ [[package]] name = "psa-update" -version = "1.0.3" +version = "1.0.4" dependencies = [ "anyhow", "clap", diff --git a/src/disk.rs b/src/disk.rs index 9fcd476..3868037 100644 --- a/src/disk.rs +++ b/src/disk.rs @@ -28,7 +28,9 @@ pub fn print_disks(sys: &System) { red.apply_to("No") }; let file_system_str = str::from_utf8(disk.file_system()).unwrap(); - let file_system = if file_system_str.eq_ignore_ascii_case("FAT32") { + let file_system = if file_system_str.eq_ignore_ascii_case("vfat") + || file_system_str.eq_ignore_ascii_case("fat32") + { green.apply_to(file_system_str) } else { red.apply_to(file_system_str)