From 1dd2280e2c41d9456365448889d0f10f92e7434a Mon Sep 17 00:00:00 2001 From: Tobias Tom Date: Tue, 18 Aug 2020 15:02:23 +0100 Subject: [PATCH] Use the correct variable to display the failed template command. --- usr/local/share/bastille/template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/template.sh b/usr/local/share/bastille/template.sh index a7165232..92ff0b03 100644 --- a/usr/local/share/bastille/template.sh +++ b/usr/local/share/bastille/template.sh @@ -145,7 +145,7 @@ for _jail in ${JAILS}; do esac if ! eval "bastille ${_cmd} ${_jail} ${_args}"; then - echo -e "${COLOR_RED}Failed to execute command: ${BASTILLE_COMMAND}${COLOR_RESET}" + echo -e "${COLOR_RED}Failed to execute command: ${_cmd}${COLOR_RESET}" set +f unset IFS exit 1