fixed start server command as its value is always None but true

This commit is contained in:
shockrah 2020-08-06 20:02:29 -07:00
parent c8ee118904
commit fd7a56403b

View File

@ -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;
}