diff --git a/usr/local/bin/bastille b/usr/local/bin/bastille index 7024050f..ce42753a 100755 --- a/usr/local/bin/bastille +++ b/usr/local/bin/bastille @@ -116,7 +116,7 @@ Available Commands: Use "bastille -v|--version" for version information. Use "bastille command -h|--help" for more information about a command. -Use "bastille -c|--config command" to slecify a non-defaukt config file. +Use "bastille -c|--config command" to specify a non-defaukt config file. EOF exit 1 @@ -126,8 +126,10 @@ bastille_conf_check bastille_perms_check BASTILLE_VERSION="0.13.20250126" -BASTILLE_CONFIG=/usr/local/etc/bastille/bastille.conf -export BASTILLE_CONFIG +if [ -z "${BASTILLE_CONFIG}" ]; then + BASTILLE_CONFIG=/usr/local/etc/bastille/bastille.conf + export BASTILLE_CONFIG +fi # Handle options while [ "$#" -gt 0 ]; do