Update create_lxc.sh

This commit is contained in:
CanbiZ 2025-07-10 09:46:15 +02:00
parent 37748f3f47
commit 9f6bce8427

View File

@ -283,9 +283,6 @@ function ensure_template_ready() {
elif [ ! -s "$template_path" ]; then elif [ ! -s "$template_path" ]; then
msg_warn "Template file $template_path is empty or missing." msg_warn "Template file $template_path is empty or missing."
template_invalid=1 template_invalid=1
elif ! tar --use-compress-program=zstdcat -tf "$template_path" >/dev/null 2>&1; then
msg_warn "Template $template_path failed archive integrity check."
template_invalid=1
else else
template_invalid=0 template_invalid=0
fi fi