mirror of
https://github.com/monero-project/monero.git
synced 2025-11-27 21:41:09 -05:00
Merge pull request #3888
1aae39d daemon: fix readline interfering with std::cerr usage (moneromooo-monero)
This commit is contained in:
commit
17fd575fe4
1 changed files with 3 additions and 0 deletions
|
|
@ -262,6 +262,9 @@ int main(int argc, char const * argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
#ifdef HAVE_READLINE
|
||||
rdln::suspend_readline pause_readline;
|
||||
#endif
|
||||
std::cerr << "Unknown command: " << command.front() << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue