mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-23 15:08:37 +00:00
Merge pull request #3961 from PenguinKeeper7/alias-warning-quiet
Make skipped device warning respect --quiet
This commit is contained in:
commit
d87ea67f2e
@ -305,6 +305,7 @@ int cuda_query_max_local_size_bytes (hashcat_ctx_t *hashcat_ctx, hc_device_param
|
|||||||
static int backend_ctx_find_alias_devices (hashcat_ctx_t *hashcat_ctx)
|
static int backend_ctx_find_alias_devices (hashcat_ctx_t *hashcat_ctx)
|
||||||
{
|
{
|
||||||
backend_ctx_t *backend_ctx = hashcat_ctx->backend_ctx;
|
backend_ctx_t *backend_ctx = hashcat_ctx->backend_ctx;
|
||||||
|
user_options_t *user_options = hashcat_ctx->user_options;
|
||||||
|
|
||||||
// first identify all aliases
|
// first identify all aliases
|
||||||
|
|
||||||
@ -372,7 +373,7 @@ static int backend_ctx_find_alias_devices (hashcat_ctx_t *hashcat_ctx)
|
|||||||
|
|
||||||
// show a warning for specifically listed devices if they are an alias
|
// show a warning for specifically listed devices if they are an alias
|
||||||
|
|
||||||
if (backend_ctx->backend_devices_filter[alias_device->device_id] == 1)
|
if (backend_ctx->backend_devices_filter[alias_device->device_id] == 1 && user_options->quiet == false)
|
||||||
{
|
{
|
||||||
event_log_warning (hashcat_ctx, "The device #%d specifically listed was skipped because it is an alias of device #%d", alias_device->device_id + 1, backend_device->device_id + 1);
|
event_log_warning (hashcat_ctx, "The device #%d specifically listed was skipped because it is an alias of device #%d", alias_device->device_id + 1, backend_device->device_id + 1);
|
||||||
event_log_warning (hashcat_ctx, NULL);
|
event_log_warning (hashcat_ctx, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user