diff --git a/src/main.rs b/src/main.rs index bcdaf05..9d293eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,9 @@ async fn main() { ssh_auth_log, iptables_save, } => { - let _ = start_ban_server(ssh_auth_log, iptables_save).await; + if let Err(error) = start_ban_server(ssh_auth_log, iptables_save).await { + error!("ban server: {error}"); + } } Cli::ListBannedIps { docker } => { println!(