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:
@@ -145,7 +145,7 @@ for _jail in ${JAILS}; do
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if ! eval "bastille ${_cmd} ${_jail} ${_args}"; then
|
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
|
set +f
|
||||||
unset IFS
|
unset IFS
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user