From 747c20f7b27e3e9055ce9827c4e118c75ab3312e Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Wed, 14 May 2025 20:18:16 -0600 Subject: [PATCH] Update config.sh --- usr/local/share/bastille/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/config.sh b/usr/local/share/bastille/config.sh index e1e9e79a..54e72647 100644 --- a/usr/local/share/bastille/config.sh +++ b/usr/local/share/bastille/config.sh @@ -82,7 +82,7 @@ bastille_root_check TARGET="${1}" ACTION="${2}" -BASTILLE_PROPERTY="" +BASTILLE_PROPERTY=0 shift 2 set_target "${TARGET}" @@ -316,7 +316,7 @@ done wait # Only display this message once at the end (not for every jail). -- cwells -if { [ "${ACTION}" = "set" ] || [ "${ACTION}" = "remove" ]; } && [ -z "${BASTILLE_PROPERTY}" ]; then +if { [ "${ACTION}" = "set" ] || [ "${ACTION}" = "remove" ]; } && [ "${BASTILLE_PROPERTY}" -eq 0 ]; then info "A restart is required for the changes to be applied. See 'bastille restart'." fi