From e5359036ff97ac81f8092bf4d4745d9d59e35aaf Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Fri, 3 Jun 2016 21:04:10 +0200 Subject: [PATCH] Show warning about bad opencl runtime on intel cpu only once --- src/hashcat.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/hashcat.c b/src/hashcat.c index ec635e74b..031ee99b5 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -13627,8 +13627,11 @@ int main (int argc, char **argv) { 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 (algorithm_pos == 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"); + } device_param->skipped = 1; }