Ensure the failures are sorted for volshell as they are in the CLI.

This commit is contained in:
Mike Auty
2019-01-18 12:38:12 +00:00
parent ed795f7e33
commit 6baf21486b
+2 -1
View File
@@ -137,7 +137,8 @@ class VolShell(cli.CommandLine):
failures = framework.import_files(volatility.plugins,
True) # Will not log as console's default level is WARNING
if failures:
parser.epilog = "The following plugins could not be loaded (use -vv to see why): " + ", ".join(failures)
parser.epilog = "The following plugins could not be loaded (use -vv to see why): " + \
", ".join(sorted(failures))
vollog.info(parser.epilog)
automagics = automagic.available(ctx)