Put logfiles in subdir

This commit is contained in:
Philippe Teuwen
2020-05-24 01:20:43 +02:00
parent f54f8103ac
commit a6f76444de
5 changed files with 46 additions and 7 deletions

View File

@@ -206,7 +206,7 @@ main_loop(char *script_cmds_file, char *script_cmd, bool stayInCommandLoop) {
}
char *my_history_path = NULL;
if (searchHomeFilePath(&my_history_path, PROXHISTORY, true) != PM3_SUCCESS) {
if (searchHomeFilePath(&my_history_path, NULL, PROXHISTORY, true) != PM3_SUCCESS) {
PrintAndLogEx(ERR, "No history will be recorded");
my_history_path = NULL;
} else {