aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-10-17 02:25:38 -0400
committerJesse Luehrs <doy@tozt.net>2019-10-17 02:25:38 -0400
commit5336c7ccbe7bee81b5c496f55f8fb9b1835a1003 (patch)
tree97a666645198d956058f4653bed992a34c8da3f9
parent436db3df0bd0a5d92adbe122d678b3567f1dc10f (diff)
downloadteleterm-5336c7ccbe7bee81b5c496f55f8fb9b1835a1003.tar.gz
teleterm-5336c7ccbe7bee81b5c496f55f8fb9b1835a1003.zip
no need to reconnect the list client when the watch client disconnects
-rw-r--r--src/cmd/watch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/watch.rs b/src/cmd/watch.rs
index 0e300b2..200b9fe 100644
--- a/src/cmd/watch.rs
+++ b/src/cmd/watch.rs
@@ -339,7 +339,7 @@ impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static>
stdout.flush().context(crate::error::FlushTerminal)?;
}
crate::protocol::Message::Disconnected => {
- self.reconnect(true)?;
+ self.reconnect(false)?;
}
crate::protocol::Message::Error { msg } => {
return Err(Error::Server { message: msg });