shellcheck: template, fix quotes

This commit is contained in:
Juan David Hurtado G
2024-12-09 07:53:56 -05:00
parent 7c000a07d8
commit d708a3460d

View File

@@ -380,7 +380,7 @@ for _jail in ${JAILS}; do
# Replace "arg" variables in this line with the provided values. -- cwells
_line=$(echo "${_line}" | eval "sed ${ARG_REPLACEMENTS}")
eval "_args=\"${_args_template}\""
bastille "${_cmd} ${_jail} ${_args}" || error_exit "Failed to execute command."
bastille "${_cmd}" "${_jail}" "${_args}" || error_exit "Failed to execute command."
done < "${bastille_template}/${_hook}"
fi
info "[${_jail}]:${_hook} -- END"