diff --git a/src/restore.c b/src/restore.c index 08a89458c..be40db0b1 100644 --- a/src/restore.c +++ b/src/restore.c @@ -235,14 +235,15 @@ static int read_restore (hashcat_ctx_t *hashcat_ctx) fclose (fp); - event_log_info (hashcat_ctx, "INFO: Changing current working directory to the path found within the .restore file: '%s'", rd->cwd); + event_log_info (hashcat_ctx, "INFO: Changing current working directory to '%s'", rd->cwd); + event_log_info (hashcat_ctx, ""); if (chdir (rd->cwd)) { event_log_error (hashcat_ctx, - "The directory '%s' does not exist. It is needed to restore (--restore) the session.\n" - "You could either create this directory or update the .restore file using e.g. the analyze_hc_restore.pl tool:\n" - "https://github.com/philsmd/analyze_hc_restore\n" + "The directory '%s' does not exist. It is needed to restore (--restore) the session." EOL + "You could either create this directory or update the .restore file using e.g. the analyze_hc_restore.pl tool:" EOL + "https://github.com/philsmd/analyze_hc_restore" EOL "The directory must contain all files and folders mentioned within the command line.", rd->cwd); return -1;