From 665607b0ffc68204f9984697819a31ea5ddcf658 Mon Sep 17 00:00:00 2001 From: ma Date: Fri, 11 Oct 2024 19:15:11 +0200 Subject: [PATCH] break loop on first bitmap found --- libqmpbackup/vm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libqmpbackup/vm.py b/libqmpbackup/vm.py index 8832259..8b520d2 100644 --- a/libqmpbackup/vm.py +++ b/libqmpbackup/vm.py @@ -66,6 +66,7 @@ def get_block_devices(blockinfo, argv, excluded_disks, included_disks, uuid): for bmap in bitmaps: if uuid in bmap["name"]: has_bitmap = True + break else: if len(bitmaps) > 0: has_bitmap = True