1
0

cli/rpc: fix 'sweep' command

fixes #6825
This commit is contained in:
SomberNight
2020-12-08 12:21:56 +01:00
parent dbb7d7ce4d
commit f74ac1a741
4 changed files with 24 additions and 14 deletions

View File

@@ -419,6 +419,7 @@ def handle_cmd(*, cmdname: str, config: 'SimpleConfig', config_options: dict):
d.run_daemon()
sys_exit(0)
else:
# FIXME this message is lost in detached mode (parent process already exited after forking)
print_msg("Daemon already running")
sys_exit(1)
else: