optimizations #161
@ -62,7 +62,7 @@ fn main() -> ExitCode {
|
|||||||
|
|
||||||
#[cfg(target_os="openbsd")] {
|
#[cfg(target_os="openbsd")] {
|
||||||
let promises = Promises::new("cpath rpath stdio unveil wpath");
|
let promises = Promises::new("cpath rpath stdio unveil wpath");
|
||||||
if let Err(e) = pledge(Some(promises), None) {
|
if let Err(e) = pledge(Some(promises), Some(Promises::default())) {
|
||||||
return err(&argv[0], e, Some(EX_OSERR));
|
return err(&argv[0], e, Some(EX_OSERR));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user