summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/createImage
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-02-29 12:23:14 +0000
committerramon <ramongomez@us.es>2012-02-29 12:23:14 +0000
commit946c54f0b46df93f2e8f60f4693bd35dde20c6cd (patch)
tree9d15cef2e07b53ae7dbea0e5b103683e27b2341d /client/shared/scripts/createImage
parent62b9fda21f694ded83c06044ed9375e30dd3f44f (diff)
Versión 1.0.3, #499: Corregir errata al detectar tamaño del repositorio en script {{{createImage}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2731 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/createImage')
-rwxr-xr-xclient/shared/scripts/createImage2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/scripts/createImage b/client/shared/scripts/createImage
index 52dabf8d..cd4a6abc 100755
--- a/client/shared/scripts/createImage
+++ b/client/shared/scripts/createImage
@@ -104,7 +104,7 @@ then
let SIZEREQUIRED=$SIZEDATA*$FACTORLZOP
#Comprobar espacio libre en el contenedor.
[ "$3" == "CACHE" ] && SIZEFREE=$(ogGetFreeSize `ogFindCache`)
- [ "$3" == "REPO" ] && SIZEFREE=$(df -k | grep $OGIMG | awk '{print $3}')
+ [ "$3" == "REPO" ] && SIZEFREE=$(df -k | grep $OGIMG | awk '{print $4}')
else
ogRaiseError $OG_ERR_PARTITION "$1 $2"
exit $?