diff --git a/lib/cli/nodesetupcommand.cpp b/lib/cli/nodesetupcommand.cpp index d02367ba4..eef67af47 100644 --- a/lib/cli/nodesetupcommand.cpp +++ b/lib/cli/nodesetupcommand.cpp @@ -376,7 +376,7 @@ int NodeSetupCommand::SetupNode(const boost::program_options::variables_map& vm, String trustedCert = vm["trustedcert"].as(); try{ - trustedParentCert = GetX509Certificate(trustedCert) + trustedParentCert = GetX509Certificate(trustedCert); } catch (const std::exception&) { Log(LogCritical, "cli") << "Can't read trusted cert at '" << trustedCert << "'.";