mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-17 01:52:06 +00:00
Merge pull request #558 from matrix/quit_if_paused
Quit program also if status == PAUSED
This commit is contained in:
commit
ab20f4a6f1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user