From 40cc9b948f485a2d4474533cb7b3365d69901478 Mon Sep 17 00:00:00 2001 From: RAN1 Date: Wed, 29 Aug 2018 22:38:03 -0400 Subject: [PATCH] hwmon_ctx_init: return on speed_only and progress_only --- src/hwmon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hwmon.c b/src/hwmon.c index 582386d76..194126fd1 100644 --- a/src/hwmon.c +++ b/src/hwmon.c @@ -2012,7 +2012,9 @@ int hwmon_ctx_init (hashcat_ctx_t *hashcat_ctx) if (user_options->keyspace == true) return 0; if (user_options->left == true) return 0; if (user_options->opencl_info == true) return 0; + if (user_options->progress_only == true) return 0; if (user_options->show == true) return 0; + if (user_options->speed_only == true) return 0; if (user_options->stdout_flag == true) return 0; if (user_options->usage == true) return 0; if (user_options->version == true) return 0;