summaryrefslogtreecommitdiff
path: root/src/mailman/bin/master.py
diff options
context:
space:
mode:
authorBarry Warsaw2015-01-04 20:13:33 -0500
committerBarry Warsaw2015-01-04 20:13:33 -0500
commit84af79988a4e916604cba31843778206efb7d1b8 (patch)
treebf50451ffe76f4fc89e48637d970b2674032ec19 /src/mailman/bin/master.py
parent5c93f908826f47a461b7a5e03d03915574702470 (diff)
downloadmailman-84af79988a4e916604cba31843778206efb7d1b8.tar.gz
mailman-84af79988a4e916604cba31843778206efb7d1b8.tar.zst
mailman-84af79988a4e916604cba31843778206efb7d1b8.zip
Diffstat (limited to 'src/mailman/bin/master.py')
-rw-r--r--src/mailman/bin/master.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/bin/master.py b/src/mailman/bin/master.py
index fa0ec0f16..50e8cb5bf 100644
--- a/src/mailman/bin/master.py
+++ b/src/mailman/bin/master.py
@@ -365,8 +365,9 @@ class Loop:
# config.PYTHON, which is the absolute path to the Python interpreter,
# must be given as argv[0] due to Python's library search algorithm.
args = [sys.executable, sys.executable, exe, rswitch]
- if self._config_file is not None:
- args.extend(['-C', self._config_file])
+ config_file = (config.filename if self._config_file is None
+ else self._config_file)
+ args.extend(['-C', config_file])
log = logging.getLogger('mailman.runner')
log.debug('starting: %s', args)
# For the testing framework, if this environment variable is set, pass