Skip to content

Commit bd3958e

Browse files
committed
fix
1 parent c8080ee commit bd3958e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/gufi_du

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@ def run(argv, config_path):
283283

284284
rows += 1
285285

286-
raw = int(raw) # block count or octets
286+
raw = int(raw)
287287

288-
# number of blocks used by this directory (including rounding up)
289-
# or logical size
290288
if args.inodes:
291-
size = raw
289+
size = raw # 1
292290
else:
291+
# number of blocks used by this directory (including rounding up)
292+
# or logical size
293293
if not args.apparent_size:
294294
raw *= 512
295295
size = (raw // block_size) + ((raw % block_size) != 0) # round up

0 commit comments

Comments
 (0)