Fix mifare classic dump when block cannot be read

This commit is contained in:
Krzysztof Zdulski 2023-01-15 16:33:32 +01:00
commit 8f2362e7b0
No known key found for this signature in database
GPG key ID: 8CF6F2C8176A9117

View file

@ -1044,11 +1044,9 @@ static int CmdHF14AMfDump(const char *Cmd) {
PrintAndLogEx(SUCCESS, "successfully read block %2d of sector %2d.", blockNo, sectorNo); PrintAndLogEx(SUCCESS, "successfully read block %2d of sector %2d.", blockNo, sectorNo);
} else { } else {
PrintAndLogEx(FAILED, "could not read block %2d of sector %2d", blockNo, sectorNo); PrintAndLogEx(FAILED, "could not read block %2d of sector %2d", blockNo, sectorNo);
break;
} }
} else { } else {
PrintAndLogEx(WARNING, "command execute timeout when trying to read block %2d of sector %2d.", blockNo, sectorNo); PrintAndLogEx(WARNING, "command execute timeout when trying to read block %2d of sector %2d.", blockNo, sectorNo);
break;
} }
} }
} }