1
mirror of https://github.com/hashcat/hashcat synced 2024-12-09 02:13:10 +01:00

Fix --quiet mode in main_cracker_finished()

This commit is contained in:
jsteube 2016-10-20 10:01:19 +02:00
parent e4b3ea937f
commit 98cdfac52d

View File

@ -258,12 +258,13 @@ static void main_cracker_finished (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYB
if (user_options->keyspace == true) return;
if (user_options->opencl_info == true) return;
if (user_options->stdout_flag == true) return;
if (user_options->quiet == true) return;
// if we had a prompt, clear it
if ((user_options_extra->wordlist_mode == WL_MODE_FILE) || (user_options_extra->wordlist_mode == WL_MODE_MASK))
{
if ((user_options->quiet == false) && (user_options->benchmark == false) && (user_options->speed_only == false))
if ((user_options->benchmark == false) && (user_options->speed_only == false))
{
clear_prompt ();
}