diff options
Diffstat (limited to 'bitbake/lib/prserv')
-rw-r--r-- | bitbake/lib/prserv/serv.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py index 306f0a3c40..a2da07227f 100644 --- a/bitbake/lib/prserv/serv.py +++ b/bitbake/lib/prserv/serv.py | |||
@@ -442,6 +442,9 @@ class PRServiceConfigError(Exception): | |||
442 | def auto_start(d): | 442 | def auto_start(d): |
443 | global singleton | 443 | global singleton |
444 | 444 | ||
445 | # Shutdown any existing PR Server | ||
446 | auto_shutdown() | ||
447 | |||
445 | host_params = list(filter(None, (d.getVar('PRSERV_HOST') or '').split(':'))) | 448 | host_params = list(filter(None, (d.getVar('PRSERV_HOST') or '').split(':'))) |
446 | if not host_params: | 449 | if not host_params: |
447 | return None | 450 | return None |