diff --git a/src/install.rs b/src/install.rs index 7e02a8b..31fb073 100644 --- a/src/install.rs +++ b/src/install.rs @@ -9,21 +9,12 @@ use std::process::exit; use tetanus::funcs::get_user_input; pub fn install() -> Result<(), Box> { - 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(()); }