From d9d6d18a4af955844f40432d0321d456ce836c65 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 15 Feb 2017 11:30:58 +0100 Subject: [PATCH] libblkid: (gpt) fix force flag Signed-off-by: Karel Zak --- libblkid/src/partitions/gpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libblkid/src/partitions/gpt.c b/libblkid/src/partitions/gpt.c index 1f75e592c0..b7d050653a 100644 --- a/libblkid/src/partitions/gpt.c +++ b/libblkid/src/partitions/gpt.c @@ -166,7 +166,7 @@ static int is_pmbr_valid(blkid_probe pr, int *has) if (has) *has = 0; - if (flags & BLKID_PARTS_FORCE_GPT) + else if (flags & BLKID_PARTS_FORCE_GPT) return 1; /* skip PMBR check */ data = blkid_probe_get_sector(pr, 0); -- 2.47.2