From 1b98fd9bc7f28ee903720fc6e8f9f64ce7b7d9d0 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Thu, 2 Nov 2023 16:45:08 +0000 Subject: [PATCH] Fix env enumeration --- root/etc/s6-overlay/s6-rc.d/init-envfile/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-envfile/run b/root/etc/s6-overlay/s6-rc.d/init-envfile/run index 0d9b90e..6c1e524 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-envfile/run +++ b/root/etc/s6-overlay/s6-rc.d/init-envfile/run @@ -2,7 +2,7 @@ # shellcheck shell=bash if find /run/s6/container_environment/FILE__* -maxdepth 1 > /dev/null 2>&1; then - for FILENAME in /run/s6/container_environment/*; do + for FILENAME in /run/s6/container_environment/FILE__*; do SECRETFILE=$(cat "${FILENAME}") if [[ -f ${SECRETFILE} ]]; then FILESTRIP=${FILENAME//FILE__/}