From 98cdfac52d423fea884015627b37eabec182a08e Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 20 Oct 2016 10:01:19 +0200 Subject: [PATCH] Fix --quiet mode in main_cracker_finished() --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 92717a46f..2c49b4805 100644 --- a/src/main.c +++ b/src/main.c @@ -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 (); }