diff options
author | ramon <ramongomez@us.es> | 2012-02-29 12:23:14 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-02-29 12:23:14 +0000 |
commit | 51a02466541306f57dea06faf2b9dac9e0a762a8 (patch) | |
tree | 2805687698d9c086b20061457f0df877dfd7219f | |
parent | 5bceb89489b28fffeabee70d9091597f93599f4a (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-x | client/shared/scripts/createImage | 2 |
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 $? |