pub fn root_guard()
Ensures the program is running with root privileges.
Exits the program with status code 1 if not running as root.