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
-6
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(())