From 42eb0a7589069bfda9aaa2de980d85c77f4889f9 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Mon, 13 Sep 2021 00:46:06 +0900 Subject: [PATCH] client: wait for newline for uninstall fixes #145 --- client/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/main.rs b/client/src/main.rs index 34710aa..b318711 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -591,6 +591,7 @@ fn uninstall(interface: &InterfaceName, network: NetworkOpt) -> Result<(), Error interface.as_str_lossy().yellow() )) .default(false) + .wait_for_newline(true) .interact()? { log::info!("bringing down interface (if up).");