copr-be: explicitly exit 1 in exit handler in vm-aws-new

Seems like in some situations we return exit status 0.
This commit is contained in:
Pavel Raiskup 2020-06-10 16:47:26 +02:00
parent 32065164b8
commit ff800e1d31

View file

@ -65,6 +65,7 @@ cleanup_actions()
# it is safe to ask for removal of non-existeng VM (in case the playbook
# below was shut-down before the VM was even created)
$delete_script
exit 1
fi
}
trap cleanup_actions EXIT