mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-25 18:24:58 +01:00
export: fix var
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user