From 5ff7d1ef1cab679bc1b2cbef71972e7ee2cfcdd5 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 19 Jun 2020 08:41:20 +0200 Subject: [PATCH] copr-be: more verbose vm-aws-new output And ignore failures in signal handler. --- roles/copr/backend/templates/resalloc/vm-aws-new | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/resalloc/vm-aws-new b/roles/copr/backend/templates/resalloc/vm-aws-new index 8bc5d3db64..3777a1a4f0 100755 --- a/roles/copr/backend/templates/resalloc/vm-aws-new +++ b/roles/copr/backend/templates/resalloc/vm-aws-new @@ -24,6 +24,8 @@ EOHELP test -z "$1" || exit "$1" } +set -x + # handle no arguments test $# -eq 0 && show_help 1 @@ -64,7 +66,7 @@ cleanup_actions() if $cleanup_vm; then # 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 + $delete_script || : exit 1 fi }