From 2741623e91a00b31bedede442a99525fa65885ec Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 20 May 2009 16:53:32 +0000 Subject: [PATCH] Add some more information to the error message when trying to run multiple daemons --- deluge/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/main.py b/deluge/main.py index 430cea377..6c961a061 100644 --- a/deluge/main.py +++ b/deluge/main.py @@ -194,6 +194,8 @@ def start_daemon(): Daemon(options, args) except deluge.error.DaemonRunningError, e: log.error(e) + log.error("You cannot run multiple daemons with the same config directory set.") + log.error("If you believe this is an error, you can force a start by deleting %s.", deluge.configmanager.get_config_dir("deluged.pid")) sys.exit(1) except Exception, e: log.exception(e)