1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-17 18:12:05 +00:00

Fix hwmon_disable issue in hwmon.c

This commit is contained in:
jsteube 2023-10-15 18:43:36 +00:00
parent 98ee1bd396
commit 31240cf91a

View File

@ -1236,7 +1236,7 @@ int hwmon_ctx_init (hashcat_ctx_t *hashcat_ctx)
if (user_options->stdout_flag == true) return 0;
if (user_options->version == true) return 0;
if (user_options->identify == true) return 0;
if (user_options->hwmon_disable == true) return 0;
if (user_options->hwmon == false) return 0;
hwmon_ctx->hm_device = (hm_attrs_t *) hccalloc (DEVICES_MAX, sizeof (hm_attrs_t));