aboutsummaryrefslogtreecommitdiff
path: root/etc/completion
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-02-27 23:56:14 +0100
committerLudovic Courtès <ludo@gnu.org>2020-02-27 23:56:14 +0100
commit71c3c3df92375ca9b4bd28b2be90dda67288fa5c (patch)
treed70d12ab80f6185eb655b47a124731e26eca094a /etc/completion
parent6b0653e7ec8a9a842fb62e28fe83c9677f40d552 (diff)
downloadpatches-71c3c3df92375ca9b4bd28b2be90dda67288fa5c.tar
patches-71c3c3df92375ca9b4bd28b2be90dda67288fa5c.tar.gz
scripts: Adjust disk-space warning functionality.
This is a followup to fb7eec3a84afd7464027d2492a8b551a61df2725. * guix/scripts.scm (warn-about-disk-space): Do not multiply ABSOLUTE-THRESHOLD-IN-BYTES by 2^30. Compare AVAILABLE to the max of RELATIVE-THRESHOLD-IN-BYTES and ABSOLUTE-THRESHOLD-IN-BYTES, not the min. Display AVAILABLE divided by 2^30.
Diffstat (limited to 'etc/completion')
0 files changed, 0 insertions, 0 deletions