disable trap SIGINT in cleanup

This commit is contained in:
Kay0u 2021-03-03 01:11:58 +01:00
parent ef7dc42078
commit 6e4a9a768a
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -123,6 +123,7 @@ parse_args
function cleanup()
{
trap '' SIGINT # Disable ctrl+c in this function
LXC_RESET
[ -n "$TEST_CONTEXT" ] && rm -rf "$TEST_CONTEXT"