mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-07-07 16:54:07 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
85e69db07c |
20
src/main.rs
20
src/main.rs
@ -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());
|
||||
|
Reference in New Issue
Block a user