Fix hwmon_disable issue in hwmon.c

pull/3895/head
jsteube 7 months ago
parent 98ee1bd396
commit 31240cf91a

@ -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));

Loading…
Cancel
Save