diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-20 14:12:18 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-20 14:12:18 -0500 |
commit | 17fd575fe40b3241938a352147d3141ed2ad11d3 (patch) | |
tree | c354dbbe23e7ba12206264322656f6c3979174d8 /src | |
parent | Merge pull request #3757 (diff) | |
parent | daemon: fix readline interfering with std::cerr usage (diff) | |
download | monero-17fd575fe40b3241938a352147d3141ed2ad11d3.tar.xz |
Merge pull request #3888
1aae39d daemon: fix readline interfering with std::cerr usage (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 49494e889..fd70c367c 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -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; } |