pub fn require_root_for_apply(mode: ApplyMode) -> Result<()>Expand description
In Apply mode, require effective uid 0.
ยงErrors
Returns HortoError::RootRequired when
mode is ApplyMode::Apply and the process is not root.
pub fn require_root_for_apply(mode: ApplyMode) -> Result<()>In Apply mode, require effective uid 0.
Returns HortoError::RootRequired when
mode is ApplyMode::Apply and the process is not root.