1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-17 19:21:11 +00:00

Check for write-able potfile or exit

This commit is contained in:
jsteube 2016-10-04 23:00:20 +02:00
parent 9811e65a72
commit b55cdeded8

View File

@ -1088,7 +1088,9 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
* weak hash check is the first to write to potfile, so open it for writing from here
*/
potfile_write_open (potfile_ctx);
const int rc_potfile_write = potfile_write_open (potfile_ctx);
if (rc_potfile_write == -1) return -1;
/**
* weak hash check