summaryrefslogtreecommitdiffstats
path: root/admin/Sources
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2013-06-21 12:09:10 +0000
committeririna <irinagomez@us.es>2013-06-21 12:09:10 +0000
commit56b3a42f8f77d1d0c760cddb222bc0ecb381c767 (patch)
treed0dbf13f4dc1da8b418d1dc996fb558b85ea144c /admin/Sources
parent30e0a236980390a94fb63a6b1a7a4345ca9157fa (diff)
#565 script sincronizadas: aumenta la estimacion del tamaño imagen linux, cambio de opcions ls por cambio del comando y mensaje de error desconocido
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3921 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources')
-rwxr-xr-xadmin/Sources/Services/ogAdmRepoAux2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmRepoAux b/admin/Sources/Services/ogAdmRepoAux
index e1d40406..d7ce37b1 100755
--- a/admin/Sources/Services/ogAdmRepoAux
+++ b/admin/Sources/Services/ogAdmRepoAux
@@ -90,7 +90,7 @@ case "$PARM1" in
# Redimensionamos la imagen al tamaño necesario
# TODO modificar ogGetImageSize
- IMGSIZE=$(ls -lk $IMGFILE| cut -f5 -d" ")
+ IMGSIZE=$(ls -l --block-size=1024 $IMGFILE| cut -f5 -d" ")
if [ $IMGSIZE -lt $SIZEREQUIRED ];then
echolog "truncate --size=\">$SIZEREQUIRED\"k $IMGFILE"
truncate --size=">$SIZEREQUIRED"k $IMGFILE 2>&1 > $REPOLOG