Explorar o código

cli: Fix clippy (#816)

Armani Ferrante %!s(int64=4) %!d(string=hai) anos
pai
achega
8b7b5aaddd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cli/src/lib.rs

+ 1 - 1
cli/src/lib.rs

@@ -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);
     }