properly delete run files when tor is not found

This commit is contained in:
KF 2019-11-29 17:49:14 -06:00
parent 13c34a1c04
commit 316b01ea85

View File

@ -46,6 +46,7 @@ def daemon():
'''
if not hastor.has_tor():
logger.error("Tor is not present in system path or Onionr directory", terminal=True)
cleanup.delete_run_files()
sys.exit(1)
# remove runcheck if it exists