Remove the trap, THEN cleanup

This commit is contained in:
Jørn Åne de Jong 2022-05-01 16:02:54 +02:00 committed by Nico Schottelius
parent c4b91aa64a
commit 9e926a90dc
1 changed files with 1 additions and 1 deletions

View File

@ -131,8 +131,8 @@ env ASSUME_ALWAYS_YES=YES pkg -c /mnt install sudo bash curl base64 ruby open-vm
env ASSUME_ALWAYS_YES=YES pkg -c /mnt clean --all
rm /mnt/one-context.txz
cleanup
trap : EXIT
cleanup
mkdir -p "$ARCH"
qemu-img convert -f raw -O qcow2 "$disk" "$IMAGE_PATH"