diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index f84d973..80c5b1e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -245,7 +245,13 @@ async fn dump_config_on_change( for ((host, prefix), ents) in cfg_map.iter_mut() { println!("{}{}:", host, prefix.as_deref().unwrap_or_default()); for ent in ents.iter() { - println!(" {}", ent); + print!(" "); + if !ent.flags.healthy { + print!("/!\\ "); + } else { + print!(" "); + } + println!("{}", ent); } } println!(); |