Ensure we don't run through signatures when we've found one that gives a layer.

This commit is contained in:
Mike Auty
2017-12-11 00:39:51 +00:00
parent 758e521292
commit e80392aa12
+3 -2
View File
@@ -151,8 +151,9 @@ class LintelStacker(interfaces.automagic.StackerLayerInterface):
layer = layer_class(context, config_path = config_path, name = new_layer_name)
if layer:
vollog.debug("DTB was found at: 0x{:0x}".format(dtb))
if layer:
vollog.debug("DTB was found at: 0x{:0x}".format(dtb))
break
return layer