diff options
Diffstat (limited to 'lib/prserv/serv.py')
-rw-r--r-- | lib/prserv/serv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prserv/serv.py b/lib/prserv/serv.py index fa437f964..5567c6f57 100644 --- a/lib/prserv/serv.py +++ b/lib/prserv/serv.py @@ -268,7 +268,7 @@ def is_local_special(host, port): def auto_start(d): global singleton - if d.getVar('USE_PR_SERV', True) == '0': + if (not d.getVar('PRSERV_HOST', True)) or (not d.getVar('PRSERV_PORT', True)): return True if is_local_special(d.getVar('PRSERV_HOST', True), int(d.getVar('PRSERV_PORT', True))) and not singleton: |