Unable to start client if empty lock.pid file exists:
$ stat lock.pid | head -2
File: lock.pid
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
$ python3 hashtopolis.zip
Found existing lock.pid, checking if python process is running...
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "hashtopolis.zip/__main__.py", line 360, in <module>
ValueError: invalid literal for int() with base 10: ''
Expected behaviour
Handle empty lockfile or raise more meaningful error message
Version Information
hastopolis-agent s3-python-0.7.2.1
Hashcat
No response
Description
Current behaviour
Unable to start client if empty lock.pid file exists:
Expected behaviour Handle empty lockfile or raise more meaningful error message