Function iocage_provision::ensure_root [−][src]
pub fn ensure_root() -> Result<()>
Expand description
Ensures that the current effective user is root.
Errors
Returns an Err
if the current effective uid
is any value other than 0
.