diff --git a/usr/local/share/bastille/common.sh b/usr/local/share/bastille/common.sh index 654ff026..dd8be78c 100644 --- a/usr/local/share/bastille/common.sh +++ b/usr/local/share/bastille/common.sh @@ -61,6 +61,12 @@ error_notify() { echo -e "${COLOR_RED}$*${COLOR_RESET}" 1>&2 } +enable_debug() { + # Enable debug mode. + warn "***DEBUG MODE***" + set -x +} + error_continue() { error_notify "$@" # Disabling this shellcheck as we only ever call it inside of a loop