mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 12:17:38 +02:00
Ensure we get a warning of some kind when a bad scheme is provided.
This commit is contained in:
@@ -70,6 +70,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface):
|
||||
self.local_store = None
|
||||
if location.scheme == "file":
|
||||
self.local_store = location.path
|
||||
else:
|
||||
vollog.warning("Only file scheme supported for single-location")
|
||||
return []
|
||||
|
||||
new_context = context.clone()
|
||||
current_layer_name = context.memory.free_layer_name("FileLayer")
|
||||
|
||||
Reference in New Issue
Block a user