cri-purge
cri-purge copied to clipboard
numfmt: invalid option
Describe the bug a clear and concise description of what the bug is.
First of all, thank you for this script which has been very helpful!
Recently I found an issue which I am not very sure why: The script failed at https://github.com/reefland/cri-purge/blob/master/cri-purge.sh#L193
numfmt: invalid option -- '2'
Try 'numfmt --help' for more information.
Disk Space Change:
What happened?
Commented line #193 and the script works as expected.
What you expected to happen?
I don't think this is a bug but probably numfmt
has somehow changed its behavior in the following Ubuntu version.
How to reproduce it?
./cri-purge.sh -p
Anything else we need to know?
PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy