forked from pool/parted
15 lines
464 B
Diff
15 lines
464 B
Diff
|
diff --git a/parted/parted.c b/parted/parted.c
|
||
|
index 5c7c270..aa68d58 100644
|
||
|
--- a/parted/parted.c
|
||
|
+++ b/parted/parted.c
|
||
|
@@ -956,6 +956,9 @@ partition_print_flags_json (PedPartition const *part)
|
||
|
for (flag = ped_partition_flag_next (0); flag;
|
||
|
flag = ped_partition_flag_next (flag))
|
||
|
{
|
||
|
+ if (flag == PED_PARTITION_TYPE)
|
||
|
+ continue;
|
||
|
+
|
||
|
if (ped_partition_get_flag (part, flag))
|
||
|
{
|
||
|
if (!did_open_array)
|