Fix killdaemon logging

This commit is contained in:
Kevin F 2022-12-02 21:19:42 +00:00
parent bc3d6571bb
commit 180116a55d

View File

@ -30,8 +30,7 @@ def kill_daemon():
os.kill(int(pid.read()), SIGTERM) os.kill(int(pid.read()), SIGTERM)
except FileNotFoundError: except FileNotFoundError:
logging.error("Daemon not running/pid file missing") logging.error("Daemon not running/pid file missing")
logging.warn('Stopping the running daemon, if one exists...', timestamp=False, logging.warn('Stopping the running daemon, if one exists...')
)
kill_daemon.onionr_help = "Gracefully stops the " # type: ignore kill_daemon.onionr_help = "Gracefully stops the " # type: ignore