mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Merge branch 'master' of https://github.com/iceman1001/proxmark3
This commit is contained in:
commit
e719470c46
3 changed files with 5 additions and 5 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…
Add table
Add a link
Reference in a new issue