Browse Source

cli: Fix clippy (#816)

Armani Ferrante 4 years ago
parent
commit
8b7b5aaddd
1 changed files with 1 additions and 1 deletions
  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 {
     if count == ms_wait {
         eprintln!("Unable to start test validator.");
         eprintln!("Unable to start test validator.");
-        validator_handle.kill();
+        validator_handle.kill()?;
         std::process::exit(1);
         std::process::exit(1);
     }
     }