mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-05 23:52:27 +08:00
chg: output unified
This commit is contained in:
parent
2eee1663df
commit
259dbadbe9
1 changed files with 2 additions and 2 deletions
|
@ -212,12 +212,12 @@ int saveFileJSON(const char *preferredName, const char *suffix, JSONFileType fty
|
|||
|
||||
int res = json_dump_file(root, fileName, JSON_INDENT(2));
|
||||
if (res) {
|
||||
PrintAndLog("ERROR: can't save the file: %s", fileName);
|
||||
PrintAndLogDevice(FAILED, "error: can't save the file: %s", fileName);
|
||||
json_decref(root);
|
||||
retval = 200;
|
||||
goto out;
|
||||
}
|
||||
PrintAndLog("File `%s` saved.", fileName);
|
||||
PrintAndLogDevice(SUCCESS, "File `%s` saved.", fileName);
|
||||
|
||||
json_decref(root);
|
||||
|
||||
|
|
Loading…
Reference in a new issue