X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=src%2Fhashcat.c;h=8f899379d493931a3e7a323cb9be5cd9057902bd;hb=772e2ac33fc45b9284fe84f7e5f00b809b0135b7;hp=202bd7316c956277a501b2ce0d87917febaadc06;hpb=ed1863c2630bc8194d38587d753dde71a315402a;p=hashcat.git diff --git a/src/hashcat.c b/src/hashcat.c index 202bd73..8f89937 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -18236,6 +18236,16 @@ int main (int argc, char **argv) data.devices_status = STATUS_RUNNING; } + // and overwrite benchmark aborts as well + + if (data.benchmark == 1) + { + if (data.devices_status == STATUS_ABORTED) + { + data.devices_status = STATUS_RUNNING; + } + } + // finalize task if (data.devices_status == STATUS_CRACKED) break; @@ -18406,7 +18416,7 @@ int main (int argc, char **argv) #ifdef HAVE_HWMON if (gpu_temp_disable == 0) { - if (gpu_temp_retain != 0) // VENDOR_ID_AMD is implied here + if (gpu_temp_retain != 0) { hc_thread_mutex_lock (mux_adl); @@ -18445,7 +18455,7 @@ int main (int argc, char **argv) // reset power tuning - if (powertune_enable == 1) // VENDOR_ID_AMD is implied here + if (powertune_enable == 1) { hc_thread_mutex_lock (mux_adl);