Require root appropriately

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix requires_root function

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>