Permalink
Browse files

Initialized readline and fix interference with std::cerr

  • Loading branch information...
miltonf committed Dec 7, 2018
1 parent 6cedea8 commit ff3383d0b8a31a0011dd62d734dc6d7853034beb
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/daemon/main.cpp
@@ -263,6 +263,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;
}

0 comments on commit ff3383d

Please sign in to comment.