Update build-arm-image.sh

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
Itxaka 2023-06-06 09:31:41 +02:00 committed by GitHub
parent b44b329fb7
commit b65986b47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ cleanup() {
fi
if [ "$disable_lvm" == "false" ]; then
lvremove --yes KairosVG
lvremove --yes KairosVG || true
fi
MAPPER_LOOP=$(basename "$LOOP")
for LOOPPART in $(ls /dev/mapper/"${MAPPER_LOOP}"*| awk -F'/' {'print $4'}); do