We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b1ab55 + 4750ae0 commit cb88f8bCopy full SHA for cb88f8b
fs/df.rs
@@ -161,7 +161,8 @@ fn read_mount_info() -> io::Result<MountList> {
161
let mut mount: libc::statfs = std::mem::zeroed();
162
let rc = libc::statfs(dirname.as_ptr(), &mut mount);
163
if rc < 0 {
164
- return Err(io::Error::last_os_error());
+ eprintln!("{}: {}", dirname.to_str().unwrap(), io::Error::last_os_error());
165
+ continue;
166
}
167
168
info.push(&mount, devname, dirname);
0 commit comments