Fix mifare classic dump when block cannot be read

This commit is contained in:
Krzysztof Zdulski committed 2023-01-15 16:33:32 +01:00
1 parent 834c182d63
commit 8f2362e7b0
1 file changed
-2
-2
View File
@@ -1044,11 +1044,9 @@ static int CmdHF14AMfDump(const char *Cmd) {
PrintAndLogEx(SUCCESS, "successfully read block %2d of sector %2d.", blockNo, sectorNo);
} else {
PrintAndLogEx(FAILED, "could not read block %2d of sector %2d", blockNo, sectorNo);
break;
}
} else {
PrintAndLogEx(WARNING, "command execute timeout when trying to read block %2d of sector %2d.", blockNo, sectorNo);
break;
}
}
}