From 5b8a35a11807a0057a00de0dcc4e355f1061c5c8 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Wed, 17 Oct 2018 09:13:54 +0200 Subject: [PATCH] Fix returncode from hashcat in case --show or --left was used --- src/hashcat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hashcat.c b/src/hashcat.c index a7d1f29fa..3524e36ef 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -523,6 +523,8 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx) if (user_options->show == true) { + status_ctx->devices_status = STATUS_RUNNING; + outfile_write_open (hashcat_ctx); const int rc = potfile_handle_show (hashcat_ctx); @@ -536,6 +538,8 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx) if (user_options->left == true) { + status_ctx->devices_status = STATUS_RUNNING; + outfile_write_open (hashcat_ctx); const int rc = potfile_handle_left (hashcat_ctx);