summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-10 00:06:19 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-10 00:06:19 +0200
commitea432e0707cd9e9e0c4f60628ea096766105e11b (patch)
tree5a43799d7df605c7c53bdcf0273e97bdc7a86e8e
parent099905d88b5046790c6c26842f6ad18d7a33405b (diff)
Writer all monitor-cmd output to the same stream
-rw-r--r--src/monitor-cmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor-cmd.cc b/src/monitor-cmd.cc
index b0caee3..b67ae7a 100644
--- a/src/monitor-cmd.cc
+++ b/src/monitor-cmd.cc
@@ -160,7 +160,7 @@ bool run(std::ostream& out, bool interleave,
new Delegate(out, interleave, looper.get()));
std::unique_ptr<Monitor> monitor(
Monitor::create(looper.get(), resolver.get(), delegate.get()));
- std::cout << "# Connecting to " << host << ':' << port << std::endl;
+ out << "# Connecting to " << host << ':' << port << std::endl;
monitor->connect(host, port);
if (signal_pipe.open()) {
struct sigaction action;