Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexandre
2026-07-07 09:37:38 +02:00
committed by GitHub
parent 74e2736c08
commit 10b0a80991

View File

@@ -38,7 +38,7 @@ done
for folders in /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d; do
if [ -d "$folders" ]; then
sed -i "s|/config/data|$LOCATION|g" $(find "$folders" -type f) &> /dev/null || true
find "$folders" -type f -exec sed -i "s|/config/data|$LOCATION|g" {} + &> /dev/null || true
fi
done