libblkid: (gpt) fix force flag
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
5635d19550
commit
e9e88bb8e9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue