diff --git a/helio b/helio index 3ad1137f0541..8d0f0cc37908 160000 --- a/helio +++ b/helio @@ -1 +1 @@ -Subproject commit 3ad1137f0541381c73a44a3430ea38c7af7796bd +Subproject commit 8d0f0cc37908623705125128d3c64d35d410fb0f diff --git a/src/server/dfly_main.cc b/src/server/dfly_main.cc index 94bbc0b890d2..ae91cbfd217c 100644 --- a/src/server/dfly_main.cc +++ b/src/server/dfly_main.cc @@ -186,7 +186,10 @@ bool RunEngine(ProactorPool* pool, AcceptServer* acceptor) { error_code ec = acceptor->AddListener(bind_addr, port, main_listener); - LOG_IF(FATAL, ec) << "Could not open port " << port << ", error: " << ec.message(); + if (ec) { + LOG(ERROR) << "Could not open port " << port << ", error: " << ec.message(); + exit(1); + } if (mc_port > 0) { acceptor->AddListener(mc_port, new Listener{Protocol::MEMCACHE, &service});