diff --git a/src/libopenbsd.rs b/src/libopenbsd.rs index f3e60b9..613aa68 100644 --- a/src/libopenbsd.rs +++ b/src/libopenbsd.rs @@ -43,6 +43,10 @@ impl Promises { } } +impl Default for Promises { + fn default() -> Self { Promises::new("") } +} + pub fn pledge( promises: Option, execpromises: Option ) -> Result<(), Error> {