1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Merge pull request #3432 from cakebaker/remove_unreachable_code

df: remove unreachable code
This commit is contained in:
Terts Diepraam 2022-04-23 01:03:06 +02:00 committed by GitHub
commit a03e9c7d8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,12 +382,6 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
}
};
// This can happen if paths are given as command-line arguments
// but none of the paths exist.
if filesystems.is_empty() {
return Ok(());
}
println!("{}", Table::new(&opt, filesystems));
Ok(())