mirror of
https://github.com/bkerler/edl.git
synced 2024-11-28 10:25:50 -05:00
b
This commit is contained in:
parent
3ba102a995
commit
5748dd5b1e
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ class firehose_client(metaclass=LogBase):
|
|||
lun = res[1]
|
||||
prim_guid_gpt = res[3]
|
||||
_, backup_guid_gpt = self.firehose.get_gpt(lun, 0, 0, 0, prim_guid_gpt.header.backup_lba)
|
||||
partition = backup_guid_gpt.partentries["boot_a"]
|
||||
partition = backup_guid_gpt.partentries["boot_b"]
|
||||
active = ((partition.flags >> (AB_FLAG_OFFSET*8))&0xFF) & AB_PARTITION_ATTR_SLOT_ACTIVE == AB_PARTITION_ATTR_SLOT_ACTIVE
|
||||
if active:
|
||||
self.printer("Current active slot: b")
|
||||
|
|
Loading…
Reference in a new issue