since the server install is the same now I just removed the check.

This commit is contained in:
2026-08-14 17:05:30 -05:00
parent 7baccd38bc
commit 9233390b18
+4 -13
View File
@@ -9,21 +9,12 @@ use std::process::exit;
use tetanus::funcs::get_user_input;
pub fn install() -> Result<(), Box<dyn Error>> {
let client = get_user_input("would you like to install the Tetanus client on this computer?")?
.contains("y");
let server = get_user_input("would you like to install the Tetanus server on this computer?")?
.contains("y");
let client =
get_user_input("would you like to install the Tetanus on this computer?")?.contains("y");
if client {
client_install()?;
}
if server {
println!("todo");
}
if !client && !server {
println!(
"no install selected, please answer y to one or both of the above prompts next time!"
);
exit(1);
} else {
println!("Ok then bye... not sure what you wanted here...");
}
return Ok(());
}