提示虚拟网卡创建失败的信息
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
use common::callback;
|
||||
use console::style;
|
||||
use vnt::core::{Config, Vnt};
|
||||
mod root_check;
|
||||
fn main() {
|
||||
@@ -16,7 +17,7 @@ fn main() {
|
||||
e,
|
||||
std::env::args().collect::<Vec<String>>()
|
||||
);
|
||||
println!("{}", e);
|
||||
println!("{}", style(format!("Error {:?}", e)).red());
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user