Update misc/build.func

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
This commit is contained in:
CanbiZ 2024-11-14 20:50:55 +01:00 committed by GitHub
parent 5146ff63e7
commit 8d54b87146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -522,7 +522,7 @@ check_container_resources() {
fi
}
check_storage() {
check_container_storage() {
# Check if the /boot partition is more than 80% full
if (( $(df /boot | awk 'NR==2{gsub("%","",$5); print $5}') > 80 )); then
# Prompt the user for confirmation to continue