adding ban server error log
This commit is contained in:
parent
7978ad4122
commit
75104020fc
@ -23,7 +23,9 @@ async fn main() {
|
|||||||
ssh_auth_log,
|
ssh_auth_log,
|
||||||
iptables_save,
|
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 } => {
|
Cli::ListBannedIps { docker } => {
|
||||||
println!(
|
println!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user