fix BASTILLE_CONFIG var

This commit is contained in:
tschettervictor
2025-04-16 16:24:05 -06:00
parent 741d2c6e12
commit c8e0cc0a78

View File

@@ -127,6 +127,7 @@ EOF
bastille_conf_check
bastille_perms_check
if [ -z "${BASTILLE_CONFIG}" ]; then
if [ -z "${BASTILLE_CONFIG}" ]; then
BASTILLE_CONFIG=/usr/local/etc/bastille/bastille.conf
export BASTILLE_CONFIG
@@ -137,6 +138,7 @@ else
echo "Not a valid config file: ${BASTILLE_CONFIG}"
exit 1
fi
fi
# Load common.sh after setting BASTILLE_CONFIG
. /usr/local/share/bastille/common.sh