Skip to content

User

Index

user::check_not_root

Die if the script is being run as root (EUID == 0). shellcheck disable=SC2120 # called with no args by callers, shellcheck can't see all call sites

Function has no arguments.

user::check_is_root

Die if the script is not being run as root (EUID != 0). shellcheck disable=SC2120 # called with no args by callers, shellcheck can't see all call sites

Function has no arguments.