1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-14 11:48:57 +00:00

Fix returncode from hashcat in case --show or --left was used

This commit is contained in:
Jens Steube 2018-10-17 09:13:54 +02:00
parent fd0147b48b
commit 5b8a35a118

View File

@ -523,6 +523,8 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
if (user_options->show == true)
{
status_ctx->devices_status = STATUS_RUNNING;
outfile_write_open (hashcat_ctx);
const int rc = potfile_handle_show (hashcat_ctx);
@ -536,6 +538,8 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
if (user_options->left == true)
{
status_ctx->devices_status = STATUS_RUNNING;
outfile_write_open (hashcat_ctx);
const int rc = potfile_handle_left (hashcat_ctx);