[−][src]Function fungus::sys::user::drop_sudo
pub fn drop_sudo() -> FuResult<()>
Switches back to the original user under the sudo mask with no way to go back.
Examples
use fungus::prelude::*; assert!(user::drop_sudo().is_ok());