Suppress stderr output from a find command

This commit is contained in:
Jonas Tobias Hopusch 2023-01-10 21:11:39 +01:00
parent 61fbf5729a
commit 7860960a40
Signed by: jotoho
GPG Key ID: 913BDF1196DCF600
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ fi
#shellcheck disable=SC2006
readarray -t imageFiles \
<<<"`find "$targetDir" -type f -iname "*$imageFileEnding"`" \
<<<"`find "$targetDir" -type f -iname "*$imageFileEnding" 2>/dev/null`" \
>/dev/null 2>&1
#-----------------------------------------------------------------------