Don't attempt to upload if no servers were given

This commit is contained in:
Leonard Steppy 2024-12-13 21:30:21 +01:00
parent 826bc237a3
commit d48fa4d489

View File

@ -107,6 +107,12 @@ fn main() -> Result<(), String> {
no_confirm,
file_name,
} => {
if servers.is_empty() {
println!("Please provide some servers to upload to. See --help");
return Ok(())
}
start_ssh_agent()?;
let file_name_info =