user dir: rework err msgs

This commit is contained in:
Philippe Teuwen 2019-08-29 10:31:37 +02:00
commit b10edbaddc
2 changed files with 6 additions and 3 deletions

View file

@ -104,7 +104,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) {
PrintAndLogEx(ERR, "could not create $HOME/" PROXHISTORY ", no history will be recorded");
PrintAndLogEx(ERR, "No history will be recorded");
my_history_path = NULL;
} else {
read_history(my_history_path);