This commit is contained in:
iceman1001 committed 2021-05-11 15:43:12 +02:00
1 parent f83fa37b86
commit 1ff1fa7385
4 files changed
+15 -15

No files matched your search

+3 -3
View File
@@ -676,16 +676,16 @@ int saveFileJSONroot(const char *preferredName, void *root, size_t flags, bool v
int res = json_dump_file(root, filename, flags);
if ( res == 0 ) {
if (res == 0) {
if (verbose) {
PrintAndLogEx(SUCCESS, "saved to json file " _YELLOW_("%s"), filename);
}
free(filename);
free(filename);
return PM3_SUCCESS;
} else {
PrintAndLogEx(FAILED, "error: can't save the file: " _YELLOW_("%s"), filename);
}
free(filename);
free(filename);
return PM3_EFILE;
}