From e2ddc18874c8a8b52a22430b2909f37e936a4ccd Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 17 Aug 2015 12:12:21 +0100 Subject: bitbake: Fix -m handling if cannot connect to server If we can't connect to the server we should error out, because it might not be that the server is actually dead - it might just be unable to execute commands. (Bitbake rev: d4b921676859d6ba4e1922fa4682ee941652f483) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- bitbake/lib/bb/main.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'bitbake/lib/bb/main.py') diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index f08a8ef592..4d77408f6a 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py @@ -358,8 +358,6 @@ def bitbake_main(configParams, configuration): try: server_connection = server.establishConnection(featureset) except Exception as e: - if configParams.kill_server: - return 0 bb.fatal("Could not connect to server %s: %s" % (configParams.remote_server, str(e))) # Restore the environment in case the UI needs it -- cgit v1.2.3-54-g00ecf