mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
4425e5de23
commit
10017313a5
1 changed files with 0 additions and 1 deletions
|
|
@ -100,7 +100,6 @@ impl Partitions {
|
||||||
for (s, b) in &mut removable {
|
for (s, b) in &mut removable {
|
||||||
match std::fs::read(format!("/sys/block/{}/removable", s.to_string_lossy()))
|
match std::fs::read(format!("/sys/block/{}/removable", s.to_string_lossy()))
|
||||||
.unwrap_or_default()
|
.unwrap_or_default()
|
||||||
.as_slice()
|
|
||||||
.trim_ascii()
|
.trim_ascii()
|
||||||
{
|
{
|
||||||
b"0" => *b = Some(false),
|
b"0" => *b = Some(false),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue