From 82eac1e9627ad2be5c63708103fc5c10852bf14e Mon Sep 17 00:00:00 2001 From: jacobkeeler Date: Fri, 24 Aug 2018 16:24:37 -0400 Subject: Fix transport manager init check --- src/appMain/life_cycle_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/appMain/life_cycle_impl.cc b/src/appMain/life_cycle_impl.cc index 5b319dde48..b87191d937 100644 --- a/src/appMain/life_cycle_impl.cc +++ b/src/appMain/life_cycle_impl.cc @@ -163,7 +163,7 @@ bool LifeCycleImpl::StartComponents() { // It's important to initialise TM after setting up listener chain // [TM -> CH -> AM], otherwise some events from TM could arrive at nowhere app_manager_->set_protocol_handler(protocol_handler_); - if (!transport_manager_->Init(*last_state_)) { + if (transport_manager::E_SUCCESS != transport_manager_->Init(*last_state_)) { LOG4CXX_ERROR(logger_, "Transport manager init failed."); return false; } -- cgit v1.2.1