1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-08 15:48:15 +00:00

Do not show hardware manager in final status display in case status is EXHAUSTED, CRACKED, ABORTED OR QUIT -- it could be confusing for users to see an utilization of 0% at this point

This commit is contained in:
Jens Steube 2016-06-04 11:21:21 +02:00
parent 829289b109
commit 4075577340

View File

@ -1537,6 +1537,12 @@ void status_display ()
} }
#ifdef HAVE_HWMON #ifdef HAVE_HWMON
if (data.devices_status == STATUS_EXHAUSTED) return;
if (data.devices_status == STATUS_CRACKED) return;
if (data.devices_status == STATUS_ABORTED) return;
if (data.devices_status == STATUS_QUIT) return;
if (data.gpu_temp_disable == 0) if (data.gpu_temp_disable == 0)
{ {
hc_thread_mutex_lock (mux_adl); hc_thread_mutex_lock (mux_adl);
@ -1620,6 +1626,7 @@ void status_display ()
hc_thread_mutex_unlock (mux_adl); hc_thread_mutex_unlock (mux_adl);
} }
#endif // HAVE_HWMON #endif // HAVE_HWMON
} }