From d8c4f442e62f0873bdb7c9e1e7327270ce29bb16 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Jun 2021 13:56:49 +0100 Subject: [PATCH] otter cli: mgmtchannel proxy needs to exit on server conn eof Signed-off-by: Ian Jackson --- src/bin/otter.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/otter.rs b/src/bin/otter.rs index 11452d7f..f930454a 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -1955,6 +1955,8 @@ mod mgmtchannel_proxy { }) .context("copy responses") .unwrap_or_else(|e| e.end_process(8)); + + exit(0); }); tcmds.join().expect("collect commands copy"); tresps.join().expect("collect responses copy"); -- 2.30.2