1 Commits
1.0.8 ... 1.0.6

Author SHA1 Message Date
85e69db07c Format Rust code using rustfmt 2023-08-28 13:40:22 +00:00

View File

@ -223,16 +223,16 @@ fn main() {
// Ask for confirmation
if config.hosts.len() != 0
&& (args.noconfirm == true
|| match Question::new(&*format!(
"Continue on following {} servers?",
&config.hosts.len()
))
.confirm()
{
Answer::YES => true,
Answer::NO => false,
_ => unreachable!(),
})
|| match Question::new(&*format!(
"Continue on following {} servers?",
&config.hosts.len()
))
.confirm()
{
Answer::YES => true,
Answer::NO => false,
_ => unreachable!(),
})
{
info!("\n");
info!("Run command on {} servers.", &config.hosts.len());