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
1 changed files with 1 additions and 1 deletions

View File

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