test: run loop device cleanup in more cases
This commit is contained in:
parent
5a89d7b39c
commit
6e5b51d94a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue