From: Jacob McNamee Date: Wed, 22 May 2024 14:02:14 +0000 (-0700) Subject: lxc-local: remove check for template existence before extraction X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4450%2Fhead;p=thirdparty%2Flxc.git lxc-local: remove check for template existence before extraction This check always fails because template files do not exist until the rootfs is unpacked. File existence is already confirmed before replacing variables Signed-off-by: Jacob McNamee --- diff --git a/templates/lxc-local.in b/templates/lxc-local.in index b09d3de9d..f855ea0a8 100755 --- a/templates/lxc-local.in +++ b/templates/lxc-local.in @@ -265,7 +265,6 @@ process_templates() { if [ -e "${templates}" ]; then while read -r line; do fullpath="${LXC_ROOTFS}/${line}" - [ ! -e "${fullpath}" ] && continue record_template_file "${fullpath}" done < "${templates}" fi