Do not show warnings message in case --force is used
authorJens Steube <jens.steube@gmail.com>
Fri, 3 Jun 2016 09:37:54 +0000 (11:37 +0200)
committerJens Steube <jens.steube@gmail.com>
Fri, 3 Jun 2016 09:37:54 +0000 (11:37 +0200)
src/hashcat.c

index 20305b6..10c70f0 100644 (file)
@@ -13671,10 +13671,13 @@ int main (int argc, char **argv)
         {
           if (device_param->device_vendor_id == VENDOR_ID_AMD_USE_INTEL)
           {
-            log_info ("Device #%u: WARNING: not native intel opencl runtime, expect massive speed loss", device_id + 1);
-            log_info ("           You can use --force to override this but do not post error reports if you do so");
+            if (data.force == 0)
+            {
+              log_info ("Device #%u: WARNING: not native intel opencl runtime, expect massive speed loss", device_id + 1);
+              log_info ("           You can use --force to override this but do not post error reports if you do so");
 
-            if (data.force == 0) device_param->skipped = 1;
+              device_param->skipped = 1;
+            }
           }
         }