From 73a75a32df861223db4a31738f0cabc60be540d5 Mon Sep 17 00:00:00 2001 From: emma Date: Tue, 10 Sep 2024 17:10:26 -0600 Subject: [PATCH] hru(1): uses default Promises value for child processes --- src/hru.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hru.rs b/src/hru.rs index 978f261..153032b 100644 --- a/src/hru.rs +++ b/src/hru.rs @@ -95,7 +95,7 @@ fn main() -> ExitCode { #[cfg(target_os="openbsd")] { let promises = Promises::new("stdio unveil"); - if let Err(e) = pledge(Some(promises), None) { + if let Err(e) = pledge(Some(promises), Some(Promises::default())) { return err(&argv[0], e.strerror(), Some(EX_OSERR)); }