Merge pull request #243 from tobiastom/feature/display-failed-command

Use the correct variable to display the failed template command.
This commit is contained in:
Christer Edwards
2020-08-19 11:40:19 -06:00
committed by GitHub

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