diff --git a/cd-mount.sh b/cd-mount.sh index 78feed9..ba731f4 100755 --- a/cd-mount.sh +++ b/cd-mount.sh @@ -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 #-----------------------------------------------------------------------