Remove the trap, THEN cleanup
This commit is contained in:
parent
c4b91aa64a
commit
9e926a90dc
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue