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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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