mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #1311 from E5ten/patch-2
Fix du --apparent-size on ext4 and MacOS
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user