Signed-off-by: jalateras <jima@comware.com.au>
This commit is contained in:
@@ -1247,6 +1247,7 @@ pub async fn cli() -> Result<()> {
|
|||||||
.await;
|
.await;
|
||||||
if let Err(e) = session.interactive(None).await {
|
if let Err(e) = session.interactive(None).await {
|
||||||
eprintln!("Session ended with error: {}", e);
|
eprintln!("Session ended with error: {}", e);
|
||||||
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user