diff --git a/usr/local/share/bastille/common.sh b/usr/local/share/bastille/common.sh index ddc00a91..262e6ecf 100644 --- a/usr/local/share/bastille/common.sh +++ b/usr/local/share/bastille/common.sh @@ -44,13 +44,8 @@ bastille_root_check() { } load_config() { - _user="$(id -un)" - if [ "${_user}" != "root" ] && [ -r "/usr/local/etc/bastille/bastille_${_user}.conf" ]; then - # shellcheck disable=SC1090 - . /usr/local/etc/bastille/bastille_${_user}.conf - else - . /usr/local/etc/bastille/bastille.conf - fi + # shellcheck disable=SC1090 + . ${BASTILLE_CONFIG} } # Load configuration file