Commit 9e85fea0 authored by HgO's avatar HgO

hotfix exit trap function on Ctrl+C

parent a1cb548f
......@@ -902,7 +902,7 @@ function cleanup_cube_resources() {
function cleanup_resources_on_success() {
# No need to enter the trap function if we are already in the cleanup step
trap "exit 1" INT
trap - ERR INT
cleanup_hypercube_file "y"
cleanup_cube_resources "y"
......@@ -910,7 +910,7 @@ function cleanup_resources_on_success() {
function cleanup_resources_on_abort() {
# In case we want to exit the trap function with CTRL+C
trap "exit 1" INT
trap - ERR INT
echo
error $"Installation aborted"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment