mirror of
https://github.com/hashcat/hashcat
synced 2025-01-25 05:17:27 +01:00
flip the logic in terminal.c for readability
This commit is contained in:
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…
Reference in New Issue
Block a user