image-info: bootloader=unknown instead of creashing
This commit is contained in:
parent
457f5f697e
commit
172a23bdb2
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ def read_bootloader_type(device):
|
|||
if b"GRUB" in f.read(512):
|
||||
return "grub"
|
||||
else:
|
||||
raise RuntimeError("unkown bootloader")
|
||||
return "unknown"
|
||||
|
||||
|
||||
def read_os_release(tree):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue