mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 16:21:12 +00:00
Set exhausted status was too late
This commit is contained in:
parent
772e2ac33f
commit
cf9c184cd5
@ -18170,6 +18170,11 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
local_free (c_threads);
|
local_free (c_threads);
|
||||||
|
|
||||||
|
if ((data.devices_status != STATUS_CRACKED) && (data.devices_status != STATUS_ABORTED) && (data.devices_status != STATUS_QUIT))
|
||||||
|
{
|
||||||
|
data.devices_status = STATUS_EXHAUSTED;
|
||||||
|
}
|
||||||
|
|
||||||
logfile_sub_var_uint ("status-after-work", data.devices_status);
|
logfile_sub_var_uint ("status-after-work", data.devices_status);
|
||||||
|
|
||||||
data.restore = 0;
|
data.restore = 0;
|
||||||
@ -18311,11 +18316,6 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
// wait for non-interactive threads
|
// wait for non-interactive threads
|
||||||
|
|
||||||
if ((data.devices_status != STATUS_CRACKED) && (data.devices_status != STATUS_ABORTED) && (data.devices_status != STATUS_QUIT))
|
|
||||||
{
|
|
||||||
data.devices_status = STATUS_EXHAUSTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (uint thread_idx = 0; thread_idx < inner_threads_cnt; thread_idx++)
|
for (uint thread_idx = 0; thread_idx < inner_threads_cnt; thread_idx++)
|
||||||
{
|
{
|
||||||
hc_thread_wait (1, &inner_threads[thread_idx]);
|
hc_thread_wait (1, &inner_threads[thread_idx]);
|
||||||
|
Loading…
Reference in New Issue
Block a user