From 316b01ea85ea248ba690dd849188e8bf05a519e7 Mon Sep 17 00:00:00 2001 From: KF Date: Fri, 29 Nov 2019 17:49:14 -0600 Subject: [PATCH] properly delete run files when tor is not found --- src/onionrcommands/daemonlaunch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/onionrcommands/daemonlaunch.py b/src/onionrcommands/daemonlaunch.py index 001d1152..63ff512b 100755 --- a/src/onionrcommands/daemonlaunch.py +++ b/src/onionrcommands/daemonlaunch.py @@ -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