mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 20:57:39 +02:00
Slightly more error checking.
This commit is contained in:
@@ -46,6 +46,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface):
|
||||
if unsatisfied:
|
||||
vollog.info("Unable to run LayerStacker, unsatisfied requirement: {}".format(unsatisfied))
|
||||
return unsatisfied
|
||||
if 'single_location' not in self.config:
|
||||
vollog.info("Unable to run LayerStacker, single_location parameter not provided")
|
||||
return []
|
||||
location = self.config["single_location"]
|
||||
if not location:
|
||||
vollog.info("Unable to run LayerStacker, single_location parameter not provided")
|
||||
|
||||
Reference in New Issue
Block a user