This commit is contained in:
Daniel Langbein 2021-05-01 13:42:36 +02:00
parent ef2f96617b
commit b801ee7c21

View File

@ -56,7 +56,7 @@ function partition() {
done done
# if BOOT_PART_SIZE not given, set to default value # if BOOT_PART_SIZE not given, set to default value
"${BOOT_PART_SIZE:='261'}" BOOT_PART_SIZE="${BOOT_PART_SIZE:='261'}"
# if too small, print warning and exit # if too small, print warning and exit
if [ "${BOOT_PART_SIZE}" -lt "261" ]; then if [ "${BOOT_PART_SIZE}" -lt "261" ]; then
echo "BOOT_PART_SIZE should be larger than 260!"; echo "BOOT_PART_SIZE should be larger than 260!";