🚑
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-04-09 14:33:14 +02:00
parent b352a7bc43
commit 9c1dca651b
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -137,7 +137,9 @@ pub fn has_filesystem(dev: &str) -> Option<String> {
if let Some(dev_entry) = dev_entry {
if let Some(fs) = dev_entry.as_object().unwrap().get("fstype") {
return Some(fs.to_string());
if matches!(fs, serde_json::Value::String(_)) {
return Some(fs.to_string());
}
}
}