From 0ffa9f4b8242f6c54985b050c5ce5a9a6f8bc6d7 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Fri, 3 Jun 2016 11:37:54 +0200 Subject: [PATCH] Do not show warnings message in case --force is used --- src/hashcat.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/hashcat.c b/src/hashcat.c index 20305b64a..10c70f00e 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; + } } }