mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-17 01:52:06 +00:00
Fix some newlines in restore mode
This commit is contained in:
parent
ebc26ecac5
commit
60f6137a3f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user