mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 13:32:30 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user