mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-02 10:49:48 +01:00
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
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user