Merge pull request #2440 from roycewilliams/master

wrap kernel optimization warning
This commit is contained in:
Jens Steube
2020-06-10 10:45:07 +02:00
committed by GitHub

View File

@@ -354,7 +354,12 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
{
if (hashconfig->has_optimized_kernel == false)
{
if (user_options->quiet == false) event_log_warning (hashcat_ctx, "%s: Optimized kernel requested but not needed - falling back to pure kernel", source_file);
if (user_options->quiet == false)
{
event_log_warning (hashcat_ctx, "Kernel %s:", source_file);
event_log_warning (hashcat_ctx, "Optimized kernel requested but not needed - falling back to pure kernel");
event_log_warning (hashcat_ctx, NULL);
}
}
else
{