image-info: bootloader=unknown instead of creashing

This commit is contained in:
Lars Karlitski 2019-09-30 11:34:08 +02:00 committed by Tom Gundersen
parent 457f5f697e
commit 172a23bdb2

View file

@ -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):