fixed start server command as its value is always None but true
This commit is contained in:
parent
c8ee118904
commit
fd7a56403b
@ -207,7 +207,7 @@ OPTIONS:
|
||||
p.disconnect();
|
||||
}
|
||||
|
||||
if let Some(_) = args.value_of("server") {
|
||||
if args.is_present("server") {
|
||||
if main_ret == NO_ERR {
|
||||
main_ret = start_server(main_ret).await;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user