]> granicus.if.org Git - icinga2/commitdiff
Fix wrong log message in 'node setup' cli command
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 23 Feb 2016 15:55:45 +0000 (16:55 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 11 Mar 2016 14:48:18 +0000 (15:48 +0100)
fixes #11209

lib/cli/nodesetupcommand.cpp

index ed0126ce8973b1ba50b58816c526bcb6c9cbd644..cf185b33528cff896768479f0b2f086e565fc949 100644 (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"))