diff options
-rwxr-xr-x | bitbake/bin/bitbake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 222dabddbc..21a6c8144a 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -297,8 +297,6 @@ def main(): | |||
297 | server = servermodule.BitBakeXMLRPCClient(configParams.observe_only) | 297 | server = servermodule.BitBakeXMLRPCClient(configParams.observe_only) |
298 | server.saveConnectionDetails(configParams.remote_server) | 298 | server.saveConnectionDetails(configParams.remote_server) |
299 | 299 | ||
300 | logger.removeHandler(handler) | ||
301 | |||
302 | if not configParams.server_only: | 300 | if not configParams.server_only: |
303 | # Collect the feature set for the UI | 301 | # Collect the feature set for the UI |
304 | featureset = getattr(ui_module, "featureSet", []) | 302 | featureset = getattr(ui_module, "featureSet", []) |
@@ -310,6 +308,8 @@ def main(): | |||
310 | for k in cleanedvars: | 308 | for k in cleanedvars: |
311 | os.environ[k] = cleanedvars[k] | 309 | os.environ[k] = cleanedvars[k] |
312 | 310 | ||
311 | logger.removeHandler(handler) | ||
312 | |||
313 | try: | 313 | try: |
314 | return ui_module.main(server_connection.connection, server_connection.events, configParams) | 314 | return ui_module.main(server_connection.connection, server_connection.events, configParams) |
315 | finally: | 315 | finally: |