1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 23:19:09 +00:00

Quit program also if status == PAUSED

This commit is contained in:
Gabriele Gristina 2016-10-30 16:05:00 +01:00
parent cd7ec6100b
commit 5c1132167b

View File

@ -156,7 +156,7 @@ int myquit (hashcat_ctx_t *hashcat_ctx)
{ {
status_ctx_t *status_ctx = hashcat_ctx->status_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; status_ctx->devices_status = STATUS_QUIT;