test: run loop device cleanup in more cases

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-03-31 11:46:00 +02:00
parent 5a89d7b39c
commit 6e5b51d94a
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ cleanup_loopdev() {
fi
}
trap cleanup_loopdev EXIT
trap cleanup_loopdev EXIT INT QUIT PIPE
create_empty_image() {
if [ -z "$IMAGE_NAME" ]; then