summaryrefslogtreecommitdiffstats
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
commit51a02466541306f57dea06faf2b9dac9e0a762a8 (patch)
tree2805687698d9c086b20061457f0df877dfd7219f
parent5bceb89489b28fffeabee70d9091597f93599f4a (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/trunk@2731 a21b9725-9963-47de-94b9-378ad31fedc9
-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 $?