mirror of https://github.com/Icinga/icinga2.git
parent
b863c7fde0
commit
fb2bc5efbf
|
@ -94,9 +94,10 @@ int AgentWizardCommand::Run(const boost::program_options::variables_map& vm, con
|
||||||
|
|
||||||
boost::algorithm::to_lower(answer);
|
boost::algorithm::to_lower(answer);
|
||||||
|
|
||||||
if (Utility::Match("^n*", answer))
|
String choice = answer;
|
||||||
is_agent_setup = false;
|
|
||||||
|
|
||||||
|
if (choice.Contains("n"))
|
||||||
|
is_agent_setup = false;
|
||||||
|
|
||||||
if (is_agent_setup) {
|
if (is_agent_setup) {
|
||||||
/* agent setup part */
|
/* agent setup part */
|
||||||
|
@ -168,9 +169,10 @@ wizard_endpoint_loop_start:
|
||||||
|
|
||||||
boost::algorithm::to_lower(answer);
|
boost::algorithm::to_lower(answer);
|
||||||
|
|
||||||
if (Utility::Match("^y*", answer))
|
String choice = answer;
|
||||||
goto wizard_endpoint_loop_start;
|
|
||||||
|
|
||||||
|
if (choice.Contains("y") || choice.Contains("j"))
|
||||||
|
goto wizard_endpoint_loop_start;
|
||||||
|
|
||||||
std::cout << "Please specify the master connection for auto-signing:\n";
|
std::cout << "Please specify the master connection for auto-signing:\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue