mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-21 17:52:01 +01:00
Update config.sh
This commit is contained in:
@@ -82,7 +82,7 @@ bastille_root_check
|
|||||||
|
|
||||||
TARGET="${1}"
|
TARGET="${1}"
|
||||||
ACTION="${2}"
|
ACTION="${2}"
|
||||||
BASTILLE_PROPERTY=""
|
BASTILLE_PROPERTY=0
|
||||||
shift 2
|
shift 2
|
||||||
|
|
||||||
set_target "${TARGET}"
|
set_target "${TARGET}"
|
||||||
@@ -316,7 +316,7 @@ done
|
|||||||
wait
|
wait
|
||||||
|
|
||||||
# Only display this message once at the end (not for every jail). -- cwells
|
# 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'."
|
info "A restart is required for the changes to be applied. See 'bastille restart'."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user