From 63168bcf424ebd12b063968445ddadd8bbd6b87a Mon Sep 17 00:00:00 2001 From: Jacob McNamee Date: Wed, 22 May 2024 07:02:14 -0700 Subject: [PATCH] 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 --- templates/lxc-local.in | 1 - 1 file changed, 1 deletion(-) 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 -- 2.47.2