Fix wrong log message in 'node setup' cli command

fixes #11209
This commit is contained in:
Michael Friedrich 2016-02-23 16:55:45 +01:00
parent e415d15d4d
commit 3979ec9b15
1 changed files with 1 additions and 2 deletions

View File

@ -293,10 +293,9 @@ int NodeSetupCommand::SetupNode(const boost::program_options::variables_map& vm,
boost::shared_ptr<X509> trustedcert = GetX509Certificate(vm["trustedcert"].as<std::string>());
Log(LogInformation, "cli")
<< "Verifying trusted certificate from file '" << trustedcert << "'.";
<< "Verifying trusted certificate file '" << vm["trustedcert"].as<std::string>() << "'.";
/* retrieve CN and pass it (defaults to FQDN) */
String cn = Utility::GetFQDN();
if (vm.count("cn"))