mirror of https://github.com/Icinga/icinga2.git
parent
d4b3bb57cb
commit
ce99dce3cb
|
@ -197,11 +197,9 @@ int ConsoleCommand::Run(const po::variables_map& vm, const std::vector<std::stri
|
||||||
|
|
||||||
incomplete:
|
incomplete:
|
||||||
#ifdef HAVE_EDITLINE
|
#ifdef HAVE_EDITLINE
|
||||||
ConsoleType console_type = Console_VT100;
|
|
||||||
std::ostringstream promptbuf;
|
std::ostringstream promptbuf;
|
||||||
std::ostream& os = promptbuf;
|
std::ostream& os = promptbuf;
|
||||||
#else /* HAVE_EDITLINE */
|
#else /* HAVE_EDITLINE */
|
||||||
ConsoleType console_type = Console_Autodetect;
|
|
||||||
std::ostream& os = std::cout;
|
std::ostream& os = std::cout;
|
||||||
#endif /* HAVE_EDITLINE */
|
#endif /* HAVE_EDITLINE */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue