Armani Ferrante 4 anni fa
parent
commit
8b7b5aaddd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
     }