diff --git a/volatility/cli/__init__.py b/volatility/cli/__init__.py index fca94dc23..5f04d86df 100644 --- a/volatility/cli/__init__.py +++ b/volatility/cli/__init__.py @@ -126,8 +126,9 @@ class CommandLine(interfaces.plugins.FileConsumerInterface): ctx = contexts.Context() # Construct a blank context failures = framework.import_files(volatility.plugins, True) # Will not log as console's default level is WARNING - parser.epilog = "The following plugins could not be loaded (use -vv to see why): " + ", ".join(failures) - vollog.info(parser.epilog) + if failures: + parser.epilog = "The following plugins could not be loaded (use -vv to see why): " + ", ".join(failures) + vollog.info(parser.epilog) automagics = automagic.available(ctx) plugin_list = framework.list_plugins() diff --git a/volatility/cli/volshell/__init__.py b/volatility/cli/volshell/__init__.py index 419c95741..8e3db2b0f 100644 --- a/volatility/cli/volshell/__init__.py +++ b/volatility/cli/volshell/__init__.py @@ -95,7 +95,9 @@ class VolShell(cli.CommandLine): ctx = contexts.Context() # Construct a blank context failures = framework.import_files(volatility.plugins, True) # Will not log as console's default level is WARNING - vollog.info("Plugins could not be loaded: " + ", ".join(failures)) + if failures: + parser.epilog = "The following plugins could not be loaded (use -vv to see why): " + ", ".join(failures) + vollog.info(parser.epilog) automagics = automagic.available(ctx) # Initialize the list of plugins in case volshell needs it