mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 17:49:32 +08:00
commit
ab981f0581
1 changed files with 1 additions and 2 deletions
|
@ -527,8 +527,7 @@ int CmdLegicRfRawWrite(const char *Cmd) {
|
|||
PrintAndLog("# changing the DCF is irreversible #");
|
||||
PrintAndLog("#####################################");
|
||||
PrintAndLog("do youe really want to continue? y(es) n(o)");
|
||||
scanf(" %c", &answer);
|
||||
if (answer == 'y' || answer == 'Y') {
|
||||
if (scanf(" %c", &answer) > 0 && (answer == 'y' || answer == 'Y')) {
|
||||
SendCommand(&c);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue