[basemgr] Remove call to has_environment_services()
All components have environment services now.
Test: Removes unreachable code.
Change-Id: I1546d38206e445e3633db28db3b5e253c85112b8
diff --git a/bin/basemgr/main.cc b/bin/basemgr/main.cc
index e1b89be..f90c384 100644
--- a/bin/basemgr/main.cc
+++ b/bin/basemgr/main.cc
@@ -40,11 +40,6 @@
trace::TraceProvider trace_provider(loop.dispatcher());
auto context = std::shared_ptr<component::StartupContext>(
component::StartupContext::CreateFromStartupInfo());
- if (!context->has_environment_services()) {
- FXL_LOG(ERROR) << "Failed to receive services from the environment.";
- return 1;
- }
-
modular::BasemgrSettings settings(command_line);
auto session_shell_settings =
modular::SessionShellSettings::GetSystemSettings();