mysqladm::core::bootstrap

Function drop_privs

Source
pub fn drop_privs() -> Result<()>
Expand description

Drop privileges to the real user and group of the process. If the process is not running with elevated privileges, this function is a no-op.