Merge pull request #32 from EgosOwn/master

properly delete run files when tor is not found
This commit is contained in:
Kevin F 2019-11-30 00:40:03 -06:00 committed by GitHub
commit 158510e9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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