From: Jens Steube Date: Fri, 3 Jun 2016 09:37:54 +0000 (+0200) Subject: Do not show warnings message in case --force is used X-Git-Tag: v3.00~94 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=0ffa9f4b8242f6c54985b050c5ce5a9a6f8bc6d7;p=hashcat.git Do not show warnings message in case --force is used --- diff --git a/src/hashcat.c b/src/hashcat.c index 20305b6..10c70f0 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -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; + } } }