Move history and logfile to ~/.proxmark3

This commit is contained in:
Philippe Teuwen committed 2019-08-28 21:53:31 +02:00
1 parent 03867018f1
commit d2d58db985
5 files changed
+74 -13

No files matched your search

+2
View File
@@ -896,6 +896,8 @@ out:
}
int searchFile(char **foundpath, const char *pm3dir, const char *searchname, const char *suffix) {
if (foundpath == NULL)
return PM3_EINVARG;
char *filename = filenamemcopy(searchname, suffix);
if (filename == NULL) return PM3_EMALLOC;
int res = searchFinalFile(foundpath, pm3dir, filename);