]> git.etc.gen.nz Git - mythtv-status.git/commit
When making a human readable disk size, keep the original.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 6 Dec 2018 21:52:34 +0000 (10:52 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 6 Dec 2018 21:52:34 +0000 (10:52 +1300)
commitb6bac7704c85eaac11fbe410d328b26bd4d8fdb9
tree7cb161c57381273e4ea6cb057333726835e5ad11
parentdfbec290ae0913894b33a0c532bfcdaa0e24959b
When making a human readable disk size, keep the original.

This fixes a bug where we wouldn't show the disk space warning if the
total and used spaces were in different units.

It also stops us having to convert from the SI format to a common
unit (MB) to calculate the used percentage.
bin/mythtv-status