diff --git a/native/src/core/selinux.rs b/native/src/core/selinux.rs index feeeabd64..1cd248004 100644 --- a/native/src/core/selinux.rs +++ b/native/src/core/selinux.rs @@ -85,7 +85,7 @@ pub(crate) fn restore_tmpcon() -> LoggedResult<()> { while let Some(ref e) = dir.read()? { if !e.is_symlink() { e.resolve_path(&mut path)?; - path.set_secontext(SYSTEM_CON)?; + path.set_secontext(SYSTEM_CON).log_ok(); } }