diff --git a/lib/cli/nodesetupcommand.cpp b/lib/cli/nodesetupcommand.cpp index ed0126ce8..cf185b335 100644 --- a/lib/cli/nodesetupcommand.cpp +++ b/lib/cli/nodesetupcommand.cpp @@ -293,10 +293,9 @@ int NodeSetupCommand::SetupNode(const boost::program_options::variables_map& vm, boost::shared_ptr trustedcert = GetX509Certificate(vm["trustedcert"].as()); Log(LogInformation, "cli") - << "Verifying trusted certificate from file '" << trustedcert << "'."; + << "Verifying trusted certificate file '" << vm["trustedcert"].as() << "'."; /* retrieve CN and pass it (defaults to FQDN) */ - String cn = Utility::GetFQDN(); if (vm.count("cn"))