1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-06-25 20:34:22 +02:00

docker: fix find error (#2733)

This commit is contained in:
Yaman Qalieh
2022-05-14 07:18:58 -04:00
committed by GitHub
parent bb6d553dd5
commit f4a0711b62

View File

@ -5,7 +5,7 @@
# This will overwrite previous configs and bridges of same name
# If there are no matching files, rss-bridge works like default.
find /config/ -type f -name '*' -print0 |
find /config/ -type f -name '*' -print0 2> /dev/null |
while IFS= read -r -d '' file; do
file_name="$(basename "$file")" # Strip leading path
if [[ $file_name = *" "* ]]; then