Merge pull request #3888

1aae39d daemon: fix readline interfering with std::cerr usage (moneromooo-monero)
This commit is contained in:
luigi1111 2018-06-20 14:12:18 -05:00
commit 17fd575fe4
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -262,6 +262,9 @@ int main(int argc, char const * argv[])
} }
else else
{ {
#ifdef HAVE_READLINE
rdln::suspend_readline pause_readline;
#endif
std::cerr << "Unknown command: " << command.front() << std::endl; std::cerr << "Unknown command: " << command.front() << std::endl;
return 1; return 1;
} }