Fix migration type detection

This commit is contained in:
Dennis ten Hoove 2024-05-24 03:39:28 +02:00
parent 735066eee2
commit 98dff4dae0

View file

@ -108,7 +108,7 @@ if [[ ! -d $variantdir ]]; then
fi
# Run the storage check only if we are not building a migration
if [[ $type != 'migraton' ]]; then
if [[ $type != 'migration' ]]; then
# Ensure we have the required storage available on both /var/tmp and root
declare root_storage_available=($(df --output=avail /))
root_storage_available=${root_storage_available[1]}