mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #1311 from E5ten/patch-2
Fix du --apparent-size on ext4 and MacOS
This commit is contained in:
commit
b8dbefcb71
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ Try '{} --help' for more information.",
|
|||
let len = len.unwrap();
|
||||
for (index, stat) in iter.enumerate() {
|
||||
let size = if matches.opt_present("apparent-size") {
|
||||
stat.nlink * stat.size
|
||||
stat.size
|
||||
} else if matches.opt_present("b") {
|
||||
stat.size
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue