do not exit when saving tos
This commit is contained in:
parent
39f9e217b2
commit
8add7ff0ff
|
@ -1,4 +1,4 @@
|
||||||
use std::{path::PathBuf, process::exit};
|
use std::process::exit;
|
||||||
|
|
||||||
use reqwest::Client;
|
use reqwest::Client;
|
||||||
|
|
||||||
|
@ -48,7 +48,6 @@ async fn main() {
|
||||||
println!("{GREEN}TOS accepted{RESET}");
|
println!("{GREEN}TOS accepted{RESET}");
|
||||||
}
|
}
|
||||||
config.set_tos(true).expect("Error saving config");
|
config.set_tos(true).expect("Error saving config");
|
||||||
exit(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config.check_tos();
|
config.check_tos();
|
||||||
|
|
Loading…
Reference in New Issue