cli: Fix clippy (#816)

This commit is contained in:
Armani Ferrante 2021-10-01 10:47:57 -05:00 committed by GitHub
parent d325f218dd
commit 8b7b5aaddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1610,7 +1610,7 @@ fn start_test_validator(cfg: &Config, flags: Option<Vec<String>>) -> Result<Chil
}
if count == ms_wait {
eprintln!("Unable to start test validator.");
validator_handle.kill();
validator_handle.kill()?;
std::process::exit(1);
}