Ver Fonte

One warning per file

Zachary Kotlarek há 11 anos atrás
pai
commit
7879af3ec7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      toMKV.sh

+ 1 - 1
toMKV.sh

@@ -14,7 +14,7 @@ if [ -z "${inFile}" ] || [ ! -e "${inFile}" ]; then
 fi
 
 # Grab some codec info
-INFO="`~/bin/video/movInfo.pl "${inFile}"`"
+INFO="`~/bin/video/movInfo.pl "${inFile}" 2>/dev/null`"
 VCODECS="`echo "${INFO}" | grep VIDEO_CODEC`"
 if [ -z "${VCODECS}" ]; then
 	if echo "${inFile}" | grep -qi '\.avi$' && [ `wc -c < "${inFile}"` -lt $MIN_AVI_SIZE ]; then