flip the logic in terminal.c for readability

pull/1342/head
Royce Williams 7 years ago
parent 63575b332b
commit a08f65b50e

@ -38,13 +38,13 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
if (user_options->machine_readable == false)
{
event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag);
if (user_options->optimized_kernel_enable == false)
if (user_options->optimized_kernel_enable == true)
{
event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile);
event_log_info (hashcat_ctx, "Active options: -O, -w %u", user_options->workload_profile);
}
else
{
event_log_info (hashcat_ctx, "Active options: -O, -w %u", user_options->workload_profile);
event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile);
}
event_log_info (hashcat_ctx, NULL);
@ -60,13 +60,13 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
else
{
event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag);
if (user_options->optimized_kernel_enable == false)
if (user_options->optimized_kernel_enable == true)
{
event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile);
event_log_info (hashcat_ctx, "# Active options: -O, -w %u", user_options->workload_profile);
}
else
{
event_log_info (hashcat_ctx, "# Active options: -O, -w %u", user_options->workload_profile);
event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile);
}
}
}

Loading…
Cancel
Save