mirror of
https://github.com/hashcat/hashcat
synced 2024-12-23 14:13:43 +01:00
Pidfile: Treat a corrupted pidfile like a not existing pidfile
This commit is contained in:
parent
cbd1361a2b
commit
9afed4b88d
@ -28,6 +28,7 @@
|
||||
## Improvements
|
||||
##
|
||||
|
||||
- Startup: Show OpenCL runtime initialization message (per device)
|
||||
- xxHash: Added support for using the version provided by the OS/distribution
|
||||
|
||||
##
|
||||
@ -57,7 +58,7 @@
|
||||
- Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
|
||||
- Memory: Limit maximum host memory allocation depending on bitness
|
||||
- Memory: Reduced default maximum bitmap size from 24 to 18 and give a notice to use --bitmap-max to restore
|
||||
- Startup: Show OpenCL runtime initialization message (per device)
|
||||
- Pidfile: Treat a corrupted pidfile like a not existing pidfile
|
||||
- Tests: Added hash-mode 11700 (Streebog-256)
|
||||
- Tests: Added hash-mode 11750 (HMAC-Streebog-256 (key = $pass), big-endian)
|
||||
- Tests: Added hash-mode 11760 (HMAC-Streebog-256 (key = $salt), big-endian)
|
||||
|
@ -29,11 +29,11 @@ static int check_running_process (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
if (nread != 1)
|
||||
{
|
||||
event_log_error (hashcat_ctx, "Cannot read %s", pidfile_filename);
|
||||
//event_log_error (hashcat_ctx, "Cannot read %s", pidfile_filename);
|
||||
|
||||
hcfree (pd);
|
||||
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (pd->pid)
|
||||
|
Loading…
Reference in New Issue
Block a user