From 2961bd3296365c89a27820207c73a94cf060a41a Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Tue, 28 Jan 2020 19:18:09 +0100 Subject: [PATCH] [syncd] Fix rpc server flag condition (#557) --- syncd/CommandLineOptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncd/CommandLineOptions.cpp b/syncd/CommandLineOptions.cpp index c0639420a0e5..d0eba99b77d5 100644 --- a/syncd/CommandLineOptions.cpp +++ b/syncd/CommandLineOptions.cpp @@ -48,7 +48,7 @@ std::string CommandLineOptions::getCommandLineString() const #ifdef SAITHRIFT - ss << " RunRPCServer=" << (m_runRPCServer ? "YES" ? "NO"); + ss << " RunRPCServer=" << (m_runRPCServer ? "YES" : "NO"); ss << " PortMapFile=" << m_portMapFile; #endif // SAITHRIFT