1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 16:38:29 +00:00

Do not show warnings message in case --force is used

This commit is contained in:
Jens Steube 2016-06-03 11:37:54 +02:00
parent 040bbd416a
commit 0ffa9f4b82

View File

@ -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;
}
}
}