Skip to main content

check_root

Function check_root 

Source
pub fn check_root() -> bool
Expand description

Check if the program is running with root privileges (Unix) or an elevated/Administrator token (Windows).