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

pull/1719/head
Jens Steube 6 years ago
parent fd0147b48b
commit 5b8a35a118

@ -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);

Loading…
Cancel
Save