From 5a960d8c8b9c8fb6240b76550252de9775ae6025 Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Wed, 16 Dec 2020 08:52:23 +0100 Subject: #1014 ogGetImageInfo: Support Windows update october 2020. --- client/engine/Image.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/engine') 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" ] -- cgit v1.2.3-18-g5258