From fc38f36701567ffc634143d025c942d33cec1dda Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 22 Nov 2016 18:00:44 +0100 Subject: [PATCH] Help the user to fix the coolbits problem as warning not error --- src/hwmon.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/hwmon.c b/src/hwmon.c index 0fd9d4e5b..a4eb9bd31 100644 --- a/src/hwmon.c +++ b/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) { 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"); - event_log_error (hashcat_ctx, "Do not forget to restart X afterwards."); + + // help the user to fix the problem + + 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; }