Suppress stderr output from a find command
This commit is contained in:
parent
61fbf5729a
commit
7860960a40
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ fi
|
||||||
|
|
||||||
#shellcheck disable=SC2006
|
#shellcheck disable=SC2006
|
||||||
readarray -t imageFiles \
|
readarray -t imageFiles \
|
||||||
<<<"`find "$targetDir" -type f -iname "*$imageFileEnding"`" \
|
<<<"`find "$targetDir" -type f -iname "*$imageFileEnding" 2>/dev/null`" \
|
||||||
>/dev/null 2>&1
|
>/dev/null 2>&1
|
||||||
|
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue