Use the correct variable to display the failed template command.

This commit is contained in:
Tobias Tom
2020-08-18 15:02:23 +01:00
parent 5edf9cbe51
commit 1dd2280e2c

View File

@@ -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