diff --git a/src/nix/hive.rs b/src/nix/hive.rs index afe2f19..7020723 100644 --- a/src/nix/hive.rs +++ b/src/nix/hive.rs @@ -228,7 +228,7 @@ impl Hive { async fn builder_args(&self) -> NixResult> { let mut options = Vec::new(); - if let Some(machines_file) = self.machines_file().await.unwrap() { + if let Some(machines_file) = self.machines_file().await? { options.append(&mut vec![ "--option".to_owned(), "builders".to_owned(),