mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-28 02:49:18 +00:00
Help the user to fix the coolbits problem as warning not error
This commit is contained in:
parent
c376c1e96b
commit
fc38f36701
10
src/hwmon.c
10
src/hwmon.c
@ -1359,9 +1359,13 @@ static int hm_XNVCTRL_get_fan_control (hashcat_ctx_t *hashcat_ctx, const int gpu
|
|||||||
if (rc == false)
|
if (rc == false)
|
||||||
{
|
{
|
||||||
event_log_error (hashcat_ctx, "XNVCTRLQueryTargetAttribute() failed");
|
event_log_error (hashcat_ctx, "XNVCTRLQueryTargetAttribute() failed");
|
||||||
event_log_error (hashcat_ctx, "This error typically occurs when you did not setup NVidia Coolbits.");
|
|
||||||
event_log_error (hashcat_ctx, "Run the following command to fix: sudo nvidia-xconfig --cool-bits=12");
|
// help the user to fix the problem
|
||||||
event_log_error (hashcat_ctx, "Do not forget to restart X afterwards.");
|
|
||||||
|
event_log_warning (hashcat_ctx, "This error typically occurs when you did not setup NVidia Coolbits.");
|
||||||
|
event_log_warning (hashcat_ctx, "Run the following command to fix: sudo nvidia-xconfig --cool-bits=12");
|
||||||
|
event_log_warning (hashcat_ctx, "Do not forget to restart X afterwards.");
|
||||||
|
event_log_warning (hashcat_ctx, "");
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user