copr-be: more verbose vm-aws-new output
And ignore failures in signal handler.
This commit is contained in:
parent
f2a1a3f203
commit
5ff7d1ef1c
1 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,8 @@ EOHELP
|
||||||
test -z "$1" || exit "$1"
|
test -z "$1" || exit "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
# handle no arguments
|
# handle no arguments
|
||||||
test $# -eq 0 && show_help 1
|
test $# -eq 0 && show_help 1
|
||||||
|
|
||||||
|
@ -64,7 +66,7 @@ cleanup_actions()
|
||||||
if $cleanup_vm; then
|
if $cleanup_vm; then
|
||||||
# it is safe to ask for removal of non-existeng VM (in case the playbook
|
# 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)
|
# below was shut-down before the VM was even created)
|
||||||
$delete_script
|
$delete_script || :
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue