do not exit when saving tos

This commit is contained in:
b1ek 2024-10-22 11:24:37 +10:00
parent 39f9e217b2
commit 8add7ff0ff
Signed by: blek
GPG Key ID: A622C22C9BC616B2
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
use std::{path::PathBuf, process::exit};
use std::process::exit;
use reqwest::Client;
@ -48,7 +48,6 @@ async fn main() {
println!("{GREEN}TOS accepted{RESET}");
}
config.set_tos(true).expect("Error saving config");
exit(0);
}
config.check_tos();