export: fix var

This commit is contained in:
tschettervictor
2025-11-22 15:00:46 -07:00
committed by GitHub
parent 01586e1aa1
commit fedbe87512

View File

@@ -494,7 +494,7 @@ jail_export() {
info "\nExporting '${TARGET}' to a compressed ${FILE_EXT} archive..."
cd "${bastille_jailsdir}" || error_exit "[ERROR]: Failed to change to directory: ${bastille_jailssdir}"
if ! tar -cf - "${TARGET}" | zstd ${bastille_compress_tzst_options} > "${bastille_backupsdir}/${TARGET}_${DATE}${FILE_EXT}"; then
if ! tar -cf - "${TARGET}" | zstd ${bastille_compress_zst_options} > "${bastille_backupsdir}/${TARGET}_${DATE}${FILE_EXT}"; then
error_exit "[ERROR]: Failed to export jail: ${TARGET}"
fi