From 4a1fb4bf89f9f6f895f28e490949f41e1e5ab06f Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sat, 1 Mar 2025 22:02:01 -0700 Subject: [PATCH] bastille: Exit instead of info --- usr/local/bin/bastille | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/local/bin/bastille b/usr/local/bin/bastille index 228b9eaf..f5afeda9 100755 --- a/usr/local/bin/bastille +++ b/usr/local/bin/bastille @@ -129,14 +129,13 @@ if [ -z "${BASTILLE_CONFIG}" ]; then BASTILLE_CONFIG=/usr/local/etc/bastille/bastille.conf export BASTILLE_CONFIG elif [ -r "${BASTILLE_CONFIG}" ]; then - info "Using custom config: ${BASTILLE_CONFIG}" export BASTILLE_CONFIG elif [ -r "/usr/local/etc/bastille/${BASTILLE_CONFIG}" ]; then BASTILLE_CONFIG="/usr/local/etc/bastille/${BASTILLE_CONFIG}" - info "Using custom config: ${BASTILLE_CONFIG}" export BASTILLE_CONFIG else - error_exit "Not a valid config file: ${BASTILLE_CONFIG}" + echo "Not a valid config file: ${BASTILLE_CONFIG}" + exit 1 fi # Load common.sh after setting BASTILLE_CONFIG