summaryrefslogtreecommitdiffstats
path: root/client/engine
diff options
context:
space:
mode:
Diffstat (limited to 'client/engine')
-rwxr-xr-xclient/engine/Image.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib
index 3b5fdbc8..a2465a12 100755
--- a/client/engine/Image.lib
+++ b/client/engine/Image.lib
@@ -941,7 +941,7 @@ IMGFILE=$1
FILEHEAD=/tmp/`basename $IMGFILE`.infohead
COMPRESSOR=`file $IMGFILE | awk '{print $2}'`
ogCheckStringInGroup "$COMPRESSOR" "gzip lzop" || ogRaiseError $OG_ERR_IMAGE "Image format is not valid $IMGFILE" || return $?
-$($COMPRESSOR -dc $IMGFILE 2>/dev/null | head > $FILEHEAD) || ogRaiseError $OG_ERR_IMAGE "Image format is not valid $IMGFILE" || return $?
+$($COMPRESSOR -dc $IMGFILE 2>/dev/null | head -n 40 > $FILEHEAD) || ogRaiseError $OG_ERR_IMAGE "Image format is not valid $IMGFILE" || return $?
## buscando Primera opciĆ³n.
if [ "$IMGDETECT" == "FALSE" ]