1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-22 14:38:55 +00:00

Merge pull request #3961 from PenguinKeeper7/alias-warning-quiet

Make skipped device warning respect --quiet
This commit is contained in:
hashcat-bot 2025-07-15 07:31:09 +02:00 committed by GitHub
commit d87ea67f2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
{
backend_ctx_t *backend_ctx = hashcat_ctx->backend_ctx;
user_options_t *user_options = hashcat_ctx->user_options;
// 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
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, NULL);