From f3f4ab4421b60a6d02a11adc9f384fa66c9027e6 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Thu, 25 Oct 2018 13:56:03 +0200 Subject: [PATCH] Do not return -1 in case of --keyspace --- src/hashcat.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/hashcat.c b/src/hashcat.c index 3524e36ef..3ede374be 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -136,7 +136,12 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx) EVENT (EVENT_CALCULATED_WORDS_BASE); - if (user_options->keyspace == true) return 0; + if (user_options->keyspace == true) + { + status_ctx->devices_status = STATUS_RUNNING; + + return 0; + } // restore stuff