Merge "releasetools: Use du -b" am: b5e650a119 am: a3140155a1

Change-Id: Idbb5bf079d1228e8db71d0f86ca20fbe23aab9f0
This commit is contained in:
Elliott Hughes 2020-04-28 17:29:39 +00:00 committed by Automerger Merge Worker
commit 4e75f0e0d0
1 changed files with 1 additions and 1 deletions

View File

@ -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