properly delete run files when tor is not found
This commit is contained in:
parent
13c34a1c04
commit
316b01ea85
@ -46,6 +46,7 @@ def daemon():
|
|||||||
'''
|
'''
|
||||||
if not hastor.has_tor():
|
if not hastor.has_tor():
|
||||||
logger.error("Tor is not present in system path or Onionr directory", terminal=True)
|
logger.error("Tor is not present in system path or Onionr directory", terminal=True)
|
||||||
|
cleanup.delete_run_files()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# remove runcheck if it exists
|
# remove runcheck if it exists
|
||||||
|
Loading…
Reference in New Issue
Block a user