Do not return -1 in case of --keyspace

This commit is contained in:
Jens Steube
2018-10-25 13:56:03 +02:00
parent f8124a1272
commit f3f4ab4421
+6 -1
View File
@@ -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