mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 16:21:12 +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:
parent
829289b109
commit
4075577340
@ -1537,6 +1537,12 @@ void status_display ()
|
||||
}
|
||||
|
||||
#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)
|
||||
{
|
||||
hc_thread_mutex_lock (mux_adl);
|
||||
@ -1620,6 +1626,7 @@ void status_display ()
|
||||
|
||||
hc_thread_mutex_unlock (mux_adl);
|
||||
}
|
||||
|
||||
#endif // HAVE_HWMON
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user