client: wait for newline for uninstall

fixes #145
pull/151/head
Jake McGinty 2021-09-13 00:46:06 +09:00
parent 2a5a820bc2
commit 42eb0a7589
1 changed files with 1 additions and 0 deletions

View File

@ -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).");