Merge pull request #2156 from henrygab/bugfix_err_message

Remove incorrect message (my own regression)
This commit is contained in:
Iceman 2023-10-31 01:34:17 +01:00 committed by GitHub
commit 03ffda08a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1138,10 +1138,8 @@ int loadFileJSONex(const char *preferredName, void *data, size_t maxdatalen, siz
char ctype[100] = {0};
JsonLoadStr(root, "$.FileType", ctype);
// Proxmark3 settings file. No
// Proxmark3 settings file. Nothing to do except call the callback function
if (!strcmp(ctype, "settings")) {
PrintAndLogEx(ERR, "ERROR: json " _YELLOW_("%s") " appears to be Proxmark3 settings file", preferredName);
PrintAndLogEx(INFO, "not a valid dump file");
goto out;
}