add error show
This commit is contained in:
1 parent
99ee694d85
commit
cb4d85f249
1 file changed
+1
@@ -1190,6 +1190,7 @@ static int CmdHFCipurseCreateDGI(const char *Cmd) {
|
|||||||
if (useAID || useFID || selmfd) {
|
if (useAID || useFID || selmfd) {
|
||||||
res = SelectCommand(selmfd, useAID, aid, aidLen, useFID, fileId, verbose, buf, sizeof(buf), &len, &sw);
|
res = SelectCommand(selmfd, useAID, aid, aidLen, useFID, fileId, verbose, buf, sizeof(buf), &len, &sw);
|
||||||
if (res != 0 || sw != 0x9000) {
|
if (res != 0 || sw != 0x9000) {
|
||||||
|
PrintAndLogEx(ERR, "Select command ( " _RED_("error") " )");
|
||||||
DropField();
|
DropField();
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user