Roll back status view progress percentage in case -s was used

This commit is contained in:
jsteube
2017-03-15 16:15:37 +01:00
parent 72071fba87
commit 20057d8516
2 changed files with 2 additions and 6 deletions

View File

@@ -104,6 +104,8 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
{
status_ctx->words_off = user_options->skip;
status_ctx->words_cur = status_ctx->words_off;
user_options->skip = 0;
}
opencl_session_reset (hashcat_ctx);
@@ -318,11 +320,6 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
}
}
// in case the user specified a --skip parameter we can use it only for the first inner loop
// we need to reset this
user_options->skip = 0;
return 0;
}