From 8add7ff0ff1f03c83a6dde63fe06593d5b55da88 Mon Sep 17 00:00:00 2001 From: b1ek Date: Tue, 22 Oct 2024 11:24:37 +1000 Subject: [PATCH] do not exit when saving tos --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e0f0234..4961c5c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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();