From 60f6137a3f38ac82a1da7ecc4162839d37c8e055 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 12 Oct 2016 13:08:48 +0200 Subject: [PATCH] Fix some newlines in restore mode --- src/restore.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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;