Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3140155 authored by Elliott Hughes's avatar Elliott Hughes Committed by Automerger Merge Worker
Browse files

Merge "releasetools: Use du -b" am: b5e650a1

Change-Id: I0248435b307fae507ee905a271580f5a3728c53d
parents 229963ee b5e650a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ def GetDiskUsage(path):
  Returns:
    The number of bytes based on a 1K block_size.
  """
  cmd = ["du", "-k", "-s", path]
  cmd = ["du", "-b", "-k", "-s", path]
  output = common.RunAndCheckOutput(cmd, verbose=False)
  return int(output.split()[0]) * 1024