Saltify it up

This commit is contained in:
Mike Reeves
2023-03-23 10:54:01 -04:00
parent 02aa8662f7
commit e52087b742

View File

@@ -8,7 +8,7 @@
DEFAULT_SALT_DIR=/opt/so/saltstack/default
DOC_BASE_URL="https://docs.securityonion.net/en/2.4"
if [ ! -z $NOROOT ]; then
if [ -z $NOROOT ]; then
# Check for prerequisites
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"