From 5c1132167b8aa51a14e7e1da7f703a3b7d09f7a4 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 30 Oct 2016 16:05:00 +0100 Subject: [PATCH] Quit program also if status == PAUSED --- src/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.c b/src/thread.c index abbfa9e4e..2d40e3d28 100644 --- a/src/thread.c +++ b/src/thread.c @@ -156,7 +156,7 @@ int myquit (hashcat_ctx_t *hashcat_ctx) { status_ctx_t *status_ctx = hashcat_ctx->status_ctx; - if (status_ctx->devices_status != STATUS_RUNNING) return -1; + if (status_ctx->devices_status != STATUS_RUNNING && status_ctx->devices_status != STATUS_PAUSED) return -1; status_ctx->devices_status = STATUS_QUIT;